Skip to content

Support constant folding for insert values - #17850

Open
Caideyipi wants to merge 13 commits into
masterfrom
insert-values-constant-folding
Open

Caideyipi wants to merge 13 commits into
masterfrom
insert-values-constant-folding

Fix insert values test cache initialization compatibility

4bbe3f6
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 6, 2026 in 9m 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 64 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/tool/TimePartitionProcessTask.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=AaGv4Rm-bXXvKWQwlP9L&open=AaGv4Rm-bXXvKWQwlP9L&pullRequest=17850

Check warning on line 147 in iotdb-client/cli/src/main/java/org/apache/iotdb/tool/common/Constants.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 178).

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

Check warning on line 528 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/protocol/thrift/IoTDBDataNodeReceiver.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'try' child has incorrect indentation level 18, expected level should be 16.

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

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

Line is longer than 100 characters (found 156).

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 117).

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

Check warning on line 402 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/agent/SubscriptionBrokerAgent.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 133).

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

Check warning on line 159 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/validate/TsFileOverlapValidationAndRepairTool.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "printf" instead of "String.format".

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

Check warning on line 28 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/sink/payload/airgap/AirGapUdpProtocol.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'}' at column 32 should be alone on a line.

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

Check warning on line 113 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/utils/TsFileRewriteOverPrecisedI64Scan.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this use of System.out by a logger.

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

Check warning on line 76 in iotdb-core/calc-commons/src/main/java/org/apache/iotdb/calc/transformation/dag/column/unary/scalar/BytesToLongColumnTransformer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 124).

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

Check warning on line 1049 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/schema/ClusterSchemaManager.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=AaGv4Z8tbXXvKWQwlQBv&open=AaGv4Z8tbXXvKWQwlQBv&pullRequest=17850

Check warning on line 346 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/executor/RegionWriteExecutor.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=AaGv4UOGbXXvKWQwlP-s&open=AaGv4UOGbXXvKWQwlP-s&pullRequest=17850

Check warning on line 312 in iotdb-client/cli/src/main/java/org/apache/iotdb/tool/common/Constants.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 158).

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

Check warning on line 78 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/tool/PrintUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "printf" instead of "String.format".

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

Check warning on line 167 in iotdb-client/cli/src/main/java/org/apache/iotdb/cli/Cli.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=AaGv4eUvbXXvKWQwlQD6&open=AaGv4eUvbXXvKWQwlQD6&pullRequest=17850

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

Replace this instanceof check and cast with 'instanceof InsertValues insertvalues'

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

Check warning on line 404 in iotdb-client/cli/src/main/java/org/apache/iotdb/tool/common/Constants.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=AaGv4eDMbXXvKWQwlQDr&open=AaGv4eDMbXXvKWQwlQDr&pullRequest=17850

Check warning on line 1510 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/protocol/thrift/IoTDBDataNodeReceiver.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 182).

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

Check warning on line 77 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/tool/PrintUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this use of System.out by a logger.

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

Check warning on line 1196 in iotdb-client/subscription/src/main/java/org/apache/iotdb/session/subscription/consumer/base/AbstractSubscriptionConsumer.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=AaGv4dhrbXXvKWQwlQDO&open=AaGv4dhrbXXvKWQwlQDO&pullRequest=17850

Check warning on line 220 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/validate/TsFileValidationTool.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "printf" instead of "String.format".

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

Check warning on line 250 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/LoadManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 139).

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

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

Line is longer than 100 characters (found 104).

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

Check warning on line 61 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/TsFileResourcePrinter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "printf" instead of "String.format".

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

Check warning on line 497 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/env/ConfigNodeProcedureEnv.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 108).

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