Skip to content

Fix time partition boundary overflows and splitter partition order#17893

Open
Caideyipi wants to merge 17 commits into
masterfrom
time-partition-boundary-overflow-fix
Open

Fix time partition boundary overflows and splitter partition order#17893
Caideyipi wants to merge 17 commits into
masterfrom
time-partition-boundary-overflow-fix

Merge branch 'master' of https://github.com/apache/iotdb into time-pa…

386d537
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 16, 2026 in 3m 45s

Annotations

Check warning on line 279 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/udf/builtin/UDTFEqualSizeBucketOutlierSample.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unnecessary cast to "double".

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6xSdz_1wBMKle0X2eY&open=AZ6xSdz_1wBMKle0X2eY&pullRequest=17893

Check warning on line 389 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/CommonUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Abbreviation in name 'getTTLLowerBound' must contain no more than '2' consecutive capital letters.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6xSeKe1wBMKle0X2fI&open=AZ6xSeKe1wBMKle0X2fI&pullRequest=17893

Check warning on line 384 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/udf/builtin/UDTFEqualSizeBucketOutlierSample.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Each variable declaration must be in its own statement.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6xSdz_1wBMKle0X2ew&open=AZ6xSdz_1wBMKle0X2ew&pullRequest=17893

Check warning on line 282 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/AnalyzeVisitor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 122 to 64, Complexity from 15 to 14, Nesting Level from 4 to 2, Number of Variables from 9 to 6.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ9o630pDIddO4CV1ZAs&open=AZ9o630pDIddO4CV1ZAs&pullRequest=17893

Check warning on line 575 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/udf/builtin/UDTFEqualSizeBucketOutlierSample.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Each variable declaration must be in its own statement.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6xSdz_1wBMKle0X2e2&open=AZ6xSdz_1wBMKle0X2e2&pullRequest=17893

Check warning on line 461 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/udf/builtin/UDTFEqualSizeBucketOutlierSample.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Declare "currentTime" and all following declarations on a separate line.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6xSdz_1wBMKle0X2ei&open=AZ6xSdz_1wBMKle0X2ei&pullRequest=17893

Check warning on line 344 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/udf/builtin/UDTFEqualSizeBucketOutlierSample.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Declare "currentTime" and all following declarations on a separate line.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6xSdz_1wBMKle0X2ea&open=AZ6xSdz_1wBMKle0X2ea&pullRequest=17893

Check warning on line 383 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/udf/builtin/UDTFEqualSizeBucketOutlierSample.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Declare "currentTime" and all following declarations on a separate line.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6xSdz_1wBMKle0X2ed&open=AZ6xSdz_1wBMKle0X2ed&pullRequest=17893

Check warning on line 518 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/udf/builtin/UDTFEqualSizeBucketOutlierSample.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unnecessary cast to "double".

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6xSdz_1wBMKle0X2en&open=AZ6xSdz_1wBMKle0X2en&pullRequest=17893

Check warning on line 240 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/expression/ExpressionFactory.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

All overloaded methods should be placed next to each other. Placing non-overloaded methods in between overloaded methods with the same type is a violation. Previous overloaded method located at line '219'.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6xSeCq1wBMKle0X2fC&open=AZ6xSeCq1wBMKle0X2fC&pullRequest=17893

Check warning on line 461 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/udf/builtin/UDTFEqualSizeBucketOutlierSample.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Each variable declaration must be in its own statement.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6xSdz_1wBMKle0X2ey&open=AZ6xSdz_1wBMKle0X2ey&pullRequest=17893

Check warning on line 575 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/udf/builtin/UDTFEqualSizeBucketOutlierSample.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Declare "currentTime" and all following declarations on a separate line.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6xSdz_1wBMKle0X2er&open=AZ6xSdz_1wBMKle0X2er&pullRequest=17893

Check warning on line 383 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/udf/builtin/UDTFEqualSizeBucketOutlierSample.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Each variable declaration must be in its own statement.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6xSdz_1wBMKle0X2ev&open=AZ6xSdz_1wBMKle0X2ev&pullRequest=17893

Check warning on line 480 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/udf/builtin/UDTFEqualSizeBucketOutlierSample.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unnecessary cast to "double".

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6xSdz_1wBMKle0X2el&open=AZ6xSdz_1wBMKle0X2el&pullRequest=17893

Check warning on line 1935 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/parser/ASTVisitor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unnecessary cast to "double".

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6xSeGs1wBMKle0X2fD&open=AZ6xSeGs1wBMKle0X2fD&pullRequest=17893

Check failure on line 738 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/AnalyzeUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ83LuoIFT7DbWi8tyrC&open=AZ83LuoIFT7DbWi8tyrC&pullRequest=17893

Check warning on line 501 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/udf/builtin/UDTFEqualSizeBucketOutlierSample.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Each variable declaration must be in its own statement.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6xSdz_1wBMKle0X2ez&open=AZ6xSdz_1wBMKle0X2ez&pullRequest=17893

Check warning on line 538 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/udf/builtin/UDTFEqualSizeBucketOutlierSample.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Declare "currentValue" and all following declarations on a separate line.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6xSdz_1wBMKle0X2ep&open=AZ6xSdz_1wBMKle0X2ep&pullRequest=17893

Check warning on line 345 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/udf/builtin/UDTFEqualSizeBucketOutlierSample.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Declare "currentValue" and all following declarations on a separate line.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6xSdz_1wBMKle0X2eb&open=AZ6xSdz_1wBMKle0X2eb&pullRequest=17893

Check warning on line 307 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/udf/builtin/UDTFEqualSizeBucketOutlierSample.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Each variable declaration must be in its own statement.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6xSdz_1wBMKle0X2et&open=AZ6xSdz_1wBMKle0X2et&pullRequest=17893

Check warning on line 2738 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/DataRegion.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 81 to 64, Complexity from 19 to 14, Nesting Level from 5 to 2, Number of Variables from 17 to 6.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6xSd9W1wBMKle0X2e9&open=AZ6xSd9W1wBMKle0X2e9&pullRequest=17893

Check warning on line 389 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/CommonUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Abbreviation in name 'dataTTL' must contain no more than '2' consecutive capital letters.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6xSeKe1wBMKle0X2fJ&open=AZ6xSeKe1wBMKle0X2fJ&pullRequest=17893

Check warning on line 576 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/udf/builtin/UDTFEqualSizeBucketOutlierSample.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Each variable declaration must be in its own statement.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6xSdz_1wBMKle0X2e3&open=AZ6xSdz_1wBMKle0X2e3&pullRequest=17893

Check warning on line 307 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/udf/builtin/UDTFEqualSizeBucketOutlierSample.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Declare "x2" and all following declarations on a separate line.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6xSdz_1wBMKle0X2eZ&open=AZ6xSdz_1wBMKle0X2eZ&pullRequest=17893

Check warning on line 279 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/udf/builtin/UDTFEqualSizeBucketOutlierSample.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unnecessary cast to "double".

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6xSdz_1wBMKle0X2eX&open=AZ6xSdz_1wBMKle0X2eX&pullRequest=17893