Skip to content

Fix time partition boundary overflows and splitter partition order#17893

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

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

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

eda0433
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 9, 2026 in 3m 28s

Annotations

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 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 463 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_1wBMKle0X2ek&open=AZ6xSdz_1wBMKle0X2ek&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 2161 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/sql/parser/AstBuilder.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 89 to 64, Complexity from 27 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=AZ6xSeAT1wBMKle0X2e_&open=AZ6xSeAT1wBMKle0X2e_&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 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 422 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_1wBMKle0X2ex&open=AZ6xSdz_1wBMKle0X2ex&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 3661 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

Expected @throws tag for 'SemanticException'.

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

Check warning on line 3108 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 98 to 64, Complexity from 17 to 14, Nesting Level from 7 to 2, Number of Variables from 24 to 6.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6xSd9W1wBMKle0X2e8&open=AZ6xSd9W1wBMKle0X2e8&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

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

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

Check warning on line 3523 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 155 to 64, Complexity from 29 to 14, Nesting Level from 5 to 2, Number of Variables from 26 to 6.

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

Check warning on line 423 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_1wBMKle0X2eh&open=AZ6xSdz_1wBMKle0X2eh&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

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6xSdz_1wBMKle0X2ee&open=AZ6xSdz_1wBMKle0X2ee&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 222 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

Line is longer than 100 characters (found 127).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6xSeCq1wBMKle0X2fB&open=AZ6xSeCq1wBMKle0X2fB&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

Each variable declaration must be in its own statement.

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

Check warning on line 285 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/partition/SeriesPartitionTable.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 462 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_1wBMKle0X2ej&open=AZ6xSdz_1wBMKle0X2ej&pullRequest=17893

Check warning on line 843 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/TsFileProcessor.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 84 to 64, Complexity from 23 to 14, Nesting Level from 4 to 2, Number of Variables from 24 to 6.

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

Check warning on line 422 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_1wBMKle0X2eg&open=AZ6xSdz_1wBMKle0X2eg&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 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 285 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/partition/SeriesPartitionTable.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Parameter name 'TTL' must match pattern '^[a-z]([a-z0-9][a-zA-Z0-9]*)?$'.

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