Skip to content

Update TsFileSplitter.java

ab81bcf
Select commit
Loading
Failed to load commit list.
Open

Pipe: Enabled load & parse to tablet null field value with timestamp for table model && Refactor: Removed the useless "UPDATE_NO_BLOB" configuration #17601

Update TsFileSplitter.java
ab81bcf
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 8, 2026 in 2m 55s

Annotations

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 396 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/parser/table/TsFileInsertionEventTableParserTabletIterator.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reduce the total number of break and continue statements in this loop to use at most one.

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

Check failure on line 315 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/splitter/TsFileSplitter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 365 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/splitter/TsFileSplitter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 175).

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

Check warning on line 454 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/LoadTsFileManager.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 79 to 64, Complexity from 16 to 14, Nesting Level from 4 to 2, Number of Variables from 21 to 6.

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

Check warning on line 160 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/utils/TableDeviceLastValueCollector.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unnecessary cast to "long".

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

Check warning on line 339 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/splitter/TsFileSplitter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 144).

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

Check warning on line 2984 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 94 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=AZ4BgxmT9lSl0wlgkKe-&open=AZ4BgxmT9lSl0wlgkKe-&pullRequest=17601

Check failure on line 516 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/splitter/TsFileSplitter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 419 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/splitter/TsFileSplitter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 124).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ4HC4y-EnJDvK7FQ09h&open=AZ4HC4y-EnJDvK7FQ09h&pullRequest=17601

Check failure on line 472 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/parser/table/TsFileInsertionEventTableParserTabletIterator.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 122 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/utils/TableDeviceLastValueCollector.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Return an empty map instead of null.

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

Check warning on line 589 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/load/LoadTsFileAnalyzer.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 88 to 64, Complexity from 21 to 14, Nesting Level from 4 to 2, Number of Variables from 21 to 6.

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

Check warning on line 213 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/splitter/TsFileSplitter.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 16 to 14, Nesting Level from 6 to 2, Number of Variables from 25 to 6.

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

Check warning on line 2546 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=AZ4BgxmT9lSl0wlgkKe9&open=AZ4BgxmT9lSl0wlgkKe9&pullRequest=17601

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused "allTimeseriesMetadataByDevice" local variable.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ4FZnOz9-YXwXH_MmPX&open=AZ4FZnOz9-YXwXH_MmPX&pullRequest=17601

Check warning on line 537 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/splitter/TsFileSplitter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reduce the total number of break and continue statements in this loop to use at most one.

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

Check warning on line 82 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/splitter/TsFileSplitter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused "timeChunkIndexOfCurrentValueColumn" private field.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ4HC4y-EnJDvK7FQ09g&open=AZ4HC4y-EnJDvK7FQ09g&pullRequest=17601

Check warning on line 3370 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 143 to 64, Complexity from 28 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=AZ4BgxmT9lSl0wlgkKe_&open=AZ4BgxmT9lSl0wlgkKe_&pullRequest=17601

Check warning on line 428 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/splitter/TsFileSplitter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 135).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ4HC4y-EnJDvK7FQ09i&open=AZ4HC4y-EnJDvK7FQ09i&pullRequest=17601

Check failure on line 470 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/splitter/TsFileSplitter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ4HC4y-EnJDvK7FQ09f&open=AZ4HC4y-EnJDvK7FQ09f&pullRequest=17601