Skip to content

Fix WritePlanNodeSplitTest compilation

2a9788f
Select commit
Loading
Failed to load commit list.
Open

Fix time partition boundary overflow handling #17893

Fix WritePlanNodeSplitTest compilation
2a9788f
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jun 10, 2026 in 3m 15s

Quality Gate failed

Failed conditions
B Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 369 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 50 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/MemChunkTimeRangeUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Cast one of the operands of this addition operation to a "long".

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

Each variable declaration must be in its own statement.

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

Check warning on line 421 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 517 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 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_1wBMKle0X2e3&open=AZ6xSdz_1wBMKle0X2e3&pullRequest=17893

Check warning on line 537 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_1wBMKle0X2e0&open=AZ6xSdz_1wBMKle0X2e0&pullRequest=17893

Check warning on line 3076 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 97 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 574 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 2638 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 421 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 3489 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 149 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 306 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 369 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 500 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 574 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 3632 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 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

Rename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6v1P0gd-C0C1PL6JO-&open=AZ6v1P0gd-C0C1PL6JO-&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 729 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/statement/crud/InsertTabletStatement.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 111 to 64, Complexity from 35 to 14, Nesting Level from 5 to 2, Number of Variables from 32 to 6.

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

Check warning on line 81 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

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

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