Skip to content

feat(ts): add the support of TWA aggregator to Range and MRange#3262

Open
var-nan wants to merge 12 commits into
apache:unstablefrom
var-nan:twa_agg
Open

feat(ts): add the support of TWA aggregator to Range and MRange#3262
var-nan wants to merge 12 commits into
apache:unstablefrom
var-nan:twa_agg

Merge branch 'unstable' into twa_agg

7e2e5e9
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Nov 28, 2025 in 2m 11s

Annotations

Check warning on line 1201 in src/types/redis_timeseries.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define each identifier in a dedicated statement.

See more on https://sonarcloud.io/project/issues?id=apache_kvrocks&issues=AZqVdTX5hIk-jR3MX6tQ&open=AZqVdTX5hIk-jR3MX6tQ&pullRequest=3262

Check failure on line 247 in src/types/redis_timeseries.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=apache_kvrocks&issues=AZrI1nydbpU4U_eJfBSW&open=AZrI1nydbpU4U_eJfBSW&pullRequest=3262

Check warning on line 140 in src/types/redis_timeseries.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the init-statement to declare "early_return" inside the if statement.

See more on https://sonarcloud.io/project/issues?id=apache_kvrocks&issues=AZrFDctEPEvpOt4LEWa-&open=AZrFDctEPEvpOt4LEWa-&pullRequest=3262

Check failure on line 87 in src/types/redis_timeseries.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 79 to the 25 allowed.

See more on https://sonarcloud.io/project/issues?id=apache_kvrocks&issues=AZqVdTX5hIk-jR3MX6tH&open=AZqVdTX5hIk-jR3MX6tH&pullRequest=3262

Check warning on line 434 in tests/gocase/unit/type/timeseries/timeseries_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable to match the regular expression "^(_|[a-zA-Z0-9]+)$".

See more on https://sonarcloud.io/project/issues?id=apache_kvrocks&issues=AZqVdTR1hIk-jR3MX6tE&open=AZqVdTR1hIk-jR3MX6tE&pullRequest=3262

Check failure on line 242 in src/types/redis_timeseries.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=apache_kvrocks&issues=AZrI1nydbpU4U_eJfBSV&open=AZrI1nydbpU4U_eJfBSV&pullRequest=3262

Check warning on line 124 in src/types/redis_timeseries.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define each identifier in a dedicated statement.

See more on https://sonarcloud.io/project/issues?id=apache_kvrocks&issues=AZqVdTX5hIk-jR3MX6tL&open=AZqVdTX5hIk-jR3MX6tL&pullRequest=3262

Check warning on line 125 in src/types/redis_timeseries.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define each identifier in a dedicated statement.

See more on https://sonarcloud.io/project/issues?id=apache_kvrocks&issues=AZqVdTX5hIk-jR3MX6tM&open=AZqVdTX5hIk-jR3MX6tM&pullRequest=3262

Check failure on line 211 in src/types/redis_timeseries.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=apache_kvrocks&issues=AZrFDctEPEvpOt4LEWa_&open=AZrFDctEPEvpOt4LEWa_&pullRequest=3262

Check warning on line 433 in tests/gocase/unit/type/timeseries/timeseries_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable to match the regular expression "^(_|[a-zA-Z0-9]+)$".

See more on https://sonarcloud.io/project/issues?id=apache_kvrocks&issues=AZqVdTR1hIk-jR3MX6tD&open=AZqVdTR1hIk-jR3MX6tD&pullRequest=3262