Skip to content

Fix table UDF result block splitting - #18310

Closed
ColinLeeo wants to merge 2 commits into
masterfrom
codex/fix-table-udf-result-chunking
Closed

Fix table UDF result block splitting#18310
ColinLeeo wants to merge 2 commits into
masterfrom
codex/fix-table-udf-result-chunking

Fix table UDF result splitting after pass-through

0d46ba8
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jul 28, 2026 in 8m 19s

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 warning on line 411 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/subscription/SubscriptionInfo.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=AZ-n4KQ7jUpubOXlstu5&open=AZ-n4KQ7jUpubOXlstu5&pullRequest=18333

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 131).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-n4J1cjUpubOXlstuV&open=AZ-n4J1cjUpubOXlstuV&pullRequest=18333

Check failure on line 1523 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-n4KA1jUpubOXlstum&open=AZ-n4KA1jUpubOXlstum&pullRequest=18333

Check warning on line 175 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/source/FileLoaderUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'CorruptedTsFileException'.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-n4Jx7jUpubOXlstuF&open=AZ-n4Jx7jUpubOXlstuF&pullRequest=18333

Check warning on line 206 in iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/ratis/ApplicationStateMachineProxy.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Summary javadoc is missing.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-n4KSFjUpubOXlstvB&open=AZ-n4KSFjUpubOXlstvB&pullRequest=18333

Check failure on line 2147 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/source/SeriesScanUtil.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-n4JyzjUpubOXlstuO&open=AZ-n4JyzjUpubOXlstuO&pullRequest=18333

Check failure on line 720 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/table/DataNodeTableCache.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Fix this access that will throw a NullPointerException when executed.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-n4KCxjUpubOXlstuo&open=AZ-n4KCxjUpubOXlstuo&pullRequest=18333

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof InsertRowsNode insertrowsnode'

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-n4J7qjUpubOXlstuf&open=AZ-n4J7qjUpubOXlstuf&pullRequest=18333

Check warning on line 1196 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/schema/ConfigMTree.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 75 to 64, Complexity from 15 to 14, Nesting Level from 5 to 2, Number of Variables from 11 to 6.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-n4KPBjUpubOXlstu3&open=AZ-n4KPBjUpubOXlstu3&pullRequest=18333

Check warning on line 89 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/schedule/AbstractDriverThread.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof CorruptedTsFileException corruptedTsFileException'

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-n4JzXjUpubOXlstuQ&open=AZ-n4JzXjUpubOXlstuQ&pullRequest=18333

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

Line is longer than 100 characters (found 121).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-n4KTFjUpubOXlstvC&open=AZ-n4KTFjUpubOXlstvC&pullRequest=18333

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 116).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-n4J2hjUpubOXlstuW&open=AZ-n4J2hjUpubOXlstuW&pullRequest=18333

Check warning on line 95 in external-service-impl/rest/src/main/java/org/apache/iotdb/rest/protocol/filter/RequestSizeLimitFilter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 167).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-n4KUZjUpubOXlstvG&open=AZ-n4KUZjUpubOXlstvG&pullRequest=18333

Check failure on line 1196 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/schema/ConfigMTree.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-n4KPBjUpubOXlstu1&open=AZ-n4KPBjUpubOXlstu1&pullRequest=18333

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Summary javadoc is missing.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-n4JhwjUpubOXlsttx&open=AZ-n4JhwjUpubOXlsttx&pullRequest=18333

Check warning on line 1021 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/TsFileProcessor.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-n4JkBjUpubOXlstt0&open=AZ-n4JkBjUpubOXlstt0&pullRequest=18333

Check warning on line 135 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 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=AZ-n4KA1jUpubOXlstuj&open=AZ-n4KA1jUpubOXlstuj&pullRequest=18333

Check failure on line 113 in iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/pipe/IoTConsensusV2.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Fix this access that will throw a NullPointerException when executed.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-n4KRujUpubOXlstu-&open=AZ-n4KRujUpubOXlstu-&pullRequest=18333

Check warning on line 145 in iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/pipe/IoTConsensusV2.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof RuntimeException runtimeexception'

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-n4KRujUpubOXlstu8&open=AZ-n4KRujUpubOXlstu8&pullRequest=18333

Check failure on line 2828 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Fix this access that will throw a NullPointerException when executed.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-n4KIrjUpubOXlstux&open=AZ-n4KIrjUpubOXlstux&pullRequest=18333

Check warning on line 522 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/source/FileLoaderUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof DiskAlignedChunkLoader diskalignedchunkloader'

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-n4Jx7jUpubOXlstuE&open=AZ-n4Jx7jUpubOXlstuE&pullRequest=18333

Check failure on line 85 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/conf/CommonDescriptor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Fix this access that will throw a NullPointerException when executed.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-n4JZBjUpubOXlsttr&open=AZ-n4JZBjUpubOXlsttr&pullRequest=18333

Check warning on line 520 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/source/FileLoaderUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof DiskChunkLoader diskchunkloader'

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-n4Jx7jUpubOXlstuD&open=AZ-n4Jx7jUpubOXlstuD&pullRequest=18333

Check warning on line 703 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/source/SeriesScanUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof DiskChunkLoader diskchunkloader'

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-n4JyzjUpubOXlstuM&open=AZ-n4JyzjUpubOXlstuM&pullRequest=18333

Check warning on line 804 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/PipeTsFileInsertionEvent.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-n4J9ejUpubOXlstuh&open=AZ-n4J9ejUpubOXlstuh&pullRequest=18333