Skip to content

clone partial columns of aligned tvlist for query - #18409

Merged
JackieTien97 merged 17 commits into
masterfrom
partial_tvlist_clone
Aug 11, 2026
Merged

clone partial columns of aligned tvlist for query#18409
JackieTien97 merged 17 commits into
masterfrom
partial_tvlist_clone

fix(test): align TsFileProcessorTest expectations with container memo…

da8e8ac
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Aug 11, 2026 in 4m 9s

Quality Gate failed

Failed conditions
C 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 1041 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/datastructure/AlignedTVList.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 103).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_rTyO0zmscKD-OAIuG&open=AZ_rTyO0zmscKD-OAIuG&pullRequest=18409

Check warning on line 129 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/AbstractWritableMemChunk.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof AlignedTVList alignedTVList'

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

Check warning on line 1475 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/datastructure/AlignedTVList.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=AZ_bQcm2Gjm1flKAvA4v&open=AZ_bQcm2Gjm1flKAvA4v&pullRequest=18409

Check warning on line 743 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/thrift/async/IoTDBDataRegionAsyncSink.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'PipeRuntimeSinkResourceException'.

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

Check warning on line 337 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/datastructure/AlignedTVList.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge this if statement with the enclosing one.

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

Check warning on line 257 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/active/ActiveLoadDirScanner.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 134).

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

Check warning on line 1395 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/datastructure/AlignedTVList.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 111).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_rTyO0zmscKD-OAIuI&open=AZ_rTyO0zmscKD-OAIuI&pullRequest=18409

Check warning on line 364 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/datastructure/AlignedTVList.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=AZ_rTyO0zmscKD-OAIt_&open=AZ_rTyO0zmscKD-OAIt_&pullRequest=18409

Check warning on line 490 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/resource/memory/PipeMemoryManager.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=AZ_bQcjzGjm1flKAvA4j&open=AZ_bQcjzGjm1flKAvA4j&pullRequest=18409

Check warning on line 147 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/parser/scan/TsFileInsertionEventScanParser.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Constructor has 12 parameters, which is greater than 7 authorized.

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

Check warning on line 707 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/AlignedWritableMemChunk.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=AZ_bQcY7Gjm1flKAvA4V&open=AZ_bQcY7Gjm1flKAvA4V&pullRequest=18409

Check warning on line 394 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/datastructure/AlignedTVList.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=AZ_rTyO0zmscKD-OAIuA&open=AZ_rTyO0zmscKD-OAIuA&pullRequest=18409

Check warning on line 758 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/AlignedWritableMemChunk.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge the previous cases into this one using comma-separated label.

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

Check warning on line 162 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/broker/consensus/ProgressWALIterator.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

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

Check warning on line 247 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/datastructure/AlignedTVList.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=AZ_utK4w7xJwO1wNwcWn&open=AZ_utK4w7xJwO1wNwcWn&pullRequest=18409

Check warning on line 215 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/schemaregion/utils/ResourceByPathUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 102).

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

Check failure on line 843 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/AlignedWritableMemChunk.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 83 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/auth/ClusterAuthorityFetcher.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused "CONFIG" private field.

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

Check failure on line 1505 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/datastructure/AlignedTVList.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_rTyO0zmscKD-OAIuE&open=AZ_rTyO0zmscKD-OAIuE&pullRequest=18409

Check warning on line 47 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/resource/PipeStopStrategy.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof PipeRuntimeSinkResourceException piperuntimesinkresourceexception'

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

Check warning on line 131 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/receiver/PipeReceiverStatusHandler.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'PipeRuntimeSinkResourceException'.

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

Check warning on line 122 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/subscription/meta/topic/TopicMetaKeeper.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused "topicName" local variable.

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

Check warning on line 252 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/schemaregion/utils/ResourceByPathUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof FragmentInstanceContext fragmentinstancecontext'

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

Check failure on line 191 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/active/ActiveLoadDirScanner.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=AZ_bQcaFGjm1flKAvA4e&open=AZ_bQcaFGjm1flKAvA4e&pullRequest=18409

Check warning on line 360 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/agent/task/subtask/processor/PipeProcessorSubtask.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof EnrichedEvent enrichedEvent'

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