Skip to content

clone partial columns of aligned tvlist for query - #18409

Draft
shuwenwei wants to merge 7 commits into
masterfrom
partial_tvlist_clone
Draft

clone partial columns of aligned tvlist for query#18409
shuwenwei wants to merge 7 commits into
masterfrom
partial_tvlist_clone

fix bug

aa4ab11
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Aug 7, 2026 in 4m 12s

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 806 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

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

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

Check warning on line 1430 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 1598 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 123).

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

Check warning on line 415 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_bQcm2Gjm1flKAvA4s&open=AZ_bQcm2Gjm1flKAvA4s&pullRequest=18409

Check warning on line 798 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_bQcY7Gjm1flKAvA4Y&open=AZ_bQcY7Gjm1flKAvA4Y&pullRequest=18409

Check warning on line 541 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_bQcs6Gjm1flKAvA5E&open=AZ_bQcs6Gjm1flKAvA5E&pullRequest=18409

Check warning on line 63 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 method parameter "topicName".

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_bQcAlGjm1flKAvA4Q&open=AZ_bQcAlGjm1flKAvA4Q&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 768 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_bQcY7Gjm1flKAvA4X&open=AZ_bQcY7Gjm1flKAvA4X&pullRequest=18409

Check warning on line 316 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_bQcqnGjm1flKAvA49&open=AZ_bQcqnGjm1flKAvA49&pullRequest=18409

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

Rename "dataTypes" which hides the field declared at line 69.

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

Check failure on line 989 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 36 to the 15 allowed.

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Return an empty collection instead of null.

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

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

Catch Exception instead of Error.

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

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

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_bQcqnGjm1flKAvA43&open=AZ_bQcqnGjm1flKAvA43&pullRequest=18409

Check warning on line 158 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_bQcqnGjm1flKAvA44&open=AZ_bQcqnGjm1flKAvA44&pullRequest=18409

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

"memChunk" is a method parameter, and should not be used for synchronization.

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

Check warning on line 85 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/memory/NotThreadSafeMemoryReservationManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Catch Exception instead of Error.

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

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

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 '1,505'.

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

Check warning on line 178 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/subscription/meta/consumer/ConsumerGroupMeta.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 155).

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

Extract this nested try block into a separate method.

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

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

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_bQcm2Gjm1flKAvA4m&open=AZ_bQcm2Gjm1flKAvA4m&pullRequest=18409

Check warning on line 1437 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_bQcm2Gjm1flKAvA4w&open=AZ_bQcm2Gjm1flKAvA4w&pullRequest=18409