Skip to content

Fragment large TsBlocks of query result responses between java session and server - #19263

Open
Wei-hao-Li wants to merge 4 commits into
masterfrom
fragmentCSRPC
Open

Wei-hao-Li wants to merge 4 commits into
masterfrom
fragmentCSRPC

merge

026fced
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 13, 2026 in 6m 35s

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 failure on line 313 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/snapshot/SnapshotLoader.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=AaHUUHlMs1efv4liiHTl&open=AaHUUHlMs1efv4liiHTl&pullRequest=19263

Check warning on line 764 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/partition/PartitionInfo.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 '728'.

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

Check warning on line 337 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/tsfile/TsFileResource.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'FileNotFoundException'.

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

Check warning on line 78 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/rescon/disk/TierManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use an "AtomicLongArray" instead.

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

Check warning on line 198 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/planner/ir/GapFillStartAndEndTimeExtractVisitor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof GenericLiteral genericliteral'

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHUUI1Bs1efv4liiHT-&open=AaHUUI1Bs1efv4liiHT-&pullRequest=19263

Check warning on line 158 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/LocalExecutionPlanner.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 '103'.

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

Check warning on line 122 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tablet/PipeRawTabletInsertionEvent.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof PipeRawTabletInsertionEvent piperawtabletinsertionevent'

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

Check warning on line 1981 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/ConfigManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 115).

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

Check warning on line 1520 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/fragment/FragmentInstanceContext.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check failure on line 561 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/receiver/SubscriptionReceiverV1.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 479 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/planner/IrExpressionInterpreter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof Number number'

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

Check warning on line 256 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/rescon/disk/TierManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move this method into "TierFolderManager".

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

Check warning on line 187 in iotdb-client/subscription/src/main/java/org/apache/iotdb/session/subscription/consumer/base/AbstractSubscriptionProvider.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 173 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/LocalExecutionPlanner.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 '118'.

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

Check warning on line 120 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/execution/config/ConfigExecution.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

WhitespaceAround: '}' is not preceded with whitespace.

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

Check warning on line 1512 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/fragment/FragmentInstanceContext.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 242 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/active/ActiveLoadTsFileLoader.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 '223'.

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

Check warning on line 4240 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/execution/config/executor/ClusterConfigTaskExecutor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 85 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/sql/ast/InsertValues.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.

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

Check warning on line 196 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/statement/crud/InsertRowsStatement.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.

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

Check failure on line 330 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/fragment/FragmentInstanceManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 1089 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/analyzer/StatementAnalyzer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 118).

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

Check warning on line 66 in iotdb-client/subscription/src/main/java/org/apache/iotdb/session/subscription/SubscriptionTableSessionBuilder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 39 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/client/internal/subscription/InternalSubscriptionTablePullConsumerBuilder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 109).

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

Check warning on line 155 in iotdb-client/cli/src/main/java/org/apache/iotdb/tool/schema/ImportSchemaTree.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 157).

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