Skip to content

Support spill of devce entry in query process - #18493

Open
Wei-hao-Li wants to merge 10 commits into
masterfrom
deviceEntrySpill-devPr
Open

Support spill of devce entry in query process#18493
Wei-hao-Li wants to merge 10 commits into
masterfrom
deviceEntrySpill-devPr

support spill process for TVF distributionPlan

843971c
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Aug 25, 2026 in 9m 31s

Quality Gate failed

Failed conditions
E 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 141 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/source/relational/DeviceIteratorScanOperator.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=AaAXzrFYBXGTVaHSW3d_&open=AaAXzrFYBXGTVaHSW3d_&pullRequest=18493

Check warning on line 295 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/cache/partition/PartitionCache.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'TException'.

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

Check warning on line 599 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/cache/partition/PartitionCache.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove useless curly braces around statement

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

Check warning on line 151 in iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/iot/IoTConsensusServerImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a thread-safe type; adding "volatile" is not enough to make this field thread-safe.

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

Check failure on line 325 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/metadata/fetcher/TableDeviceSchemaFetcher.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this throw statement from this finally block.

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

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

'catch' child has incorrect indentation level 14, expected level should be 12.

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

Check warning on line 576 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/common/MPPQueryContext.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

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

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

Check warning on line 1045 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/broker/consensus/ConsensusPrefetchingQueue.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=AaA32CWkZQk3agYeXBKk&open=AaA32CWkZQk3agYeXBKk&pullRequest=18493

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

'try' has incorrect indentation level 12, expected level should be 10.

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

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

'catch' child has incorrect indentation level 14, expected level should be 12.

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

Check warning on line 147 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/opcua/server/OpcUaNameSpace.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'Exception'.

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

Check warning on line 162 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/metadata/spill/DeviceEntrySpillManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Immediately return this expression instead of assigning it to the temporary variable "ownerDirectory".

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

Check warning on line 31 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/statistics/QueryPlanStatistics.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 294 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/cache/partition/PartitionCache.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 '248'.

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

Check warning on line 473 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/airgap/IoTDBDataRegionAirGapSink.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Method has 8 parameters, which is greater than 7 authorized.

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

Check failure on line 976 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/planner/distribute/TableDistributedPlanGenerator.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=AaA32BmQZQk3agYeXBKT&open=AaA32BmQZQk3agYeXBKT&pullRequest=18493

Check warning on line 162 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/opcua/client/IoTDBOpcUaClient.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 138).

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

Check warning on line 278 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/schema/ClusterSchemaInfo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 107).

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

Check warning on line 673 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/utils/FileUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'IllegalArgumentException'.

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

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

Use the "AtomicReference" API for synchronization instead of a "synchronized" block.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAu_9v-H7VZS0qiySe_&open=AaAu_9v-H7VZS0qiySe_&pullRequest=18493

Check warning on line 185 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/converter/PipeTsFileConversionTaskManager.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 '149'.

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

Check warning on line 110 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/statistics/QueryPlanStatistics.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check failure on line 214 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/util/LoadUtil.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=AaAXzqvhBXGTVaHSW3dQ&open=AaAXzqvhBXGTVaHSW3dQ&pullRequest=18493

Check warning on line 138 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/common/MPPQueryContext.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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