Skip to content

Honor auto-create-schema settings for tree and table LOAD - #19128

Merged
jt2594838 merged 7 commits into
masterfrom
codex/table-load-auto-create-schema
Nov 6, 2026
Merged

jt2594838 merged 7 commits into
masterfrom
codex/table-load-auto-create-schema

Honor LOAD schema policy before database creation

0de7dcb
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 6, 2026 in 10m 4s

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 3072 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/protocol/thrift/impl/DataNodeInternalRPCServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 144).

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

Check warning on line 52 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/external/collections4/iterators/ListIteratorWrapper.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=AaGpiaMRpDSRxurzTOnY&open=AaGpiaMRpDSRxurzTOnY&pullRequest=19128

Check warning on line 264 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/load/LoadTsFileAnalyzer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 113).

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

Check warning on line 53 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/conf/IoTDBConstant.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=AaGpiabmpDSRxurzTOna&open=AaGpiabmpDSRxurzTOna&pullRequest=19128

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=AaGpinkMpDSRxurzTOtM&open=AaGpinkMpDSRxurzTOtM&pullRequest=19128

Check warning on line 189 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/planner/iterative/rule/TransformCorrelatedScalarSubquery.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=AaGpibqrpDSRxurzTOn3&open=AaGpibqrpDSRxurzTOn3&pullRequest=19128

Check warning on line 524 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/thrift/sync/IoTDBDataRegionSyncSink.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 101).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGpifW-pDSRxurzTOpI&open=AaGpifW-pDSRxurzTOpI&pullRequest=19128

Check warning on line 69 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/wal/utils/WALPrintTool.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=AaGpia7GpDSRxurzTOnq&open=AaGpia7GpDSRxurzTOnq&pullRequest=19128

Check warning on line 47 in iotdb-core/calc-commons/src/main/java/org/apache/iotdb/calc/execution/operator/source/relational/aggregation/RecordIterator.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=AaGpiilTpDSRxurzTOra&open=AaGpiilTpDSRxurzTOra&pullRequest=19128

Check warning on line 698 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/protocol/iotconsensusv2/IoTConsensusV2Receiver.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 172).

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

Check warning on line 150 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/agent/task/execution/PipeSubtaskExecutor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 106).

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

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

Line is longer than 100 characters (found 188).

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

Check warning on line 126 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=AaGpiaxupDSRxurzTOnl&open=AaGpiaxupDSRxurzTOnl&pullRequest=19128

Check warning on line 611 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/broker/consensus/ConsensusLogToTabletConverter.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=AaGpig_PpDSRxurzTOqB&open=AaGpig_PpDSRxurzTOqB&pullRequest=19128

Check failure on line 1965 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

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=AaGqEfGCKSoeWyE4EjdS&open=AaGqEfGCKSoeWyE4EjdS&pullRequest=19128

Check warning on line 865 in iotdb-core/node-commons/src/main/i18n/en/org/apache/iotdb/commons/i18n/PipeMessages.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this String concatenation with Text block.

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

Check warning on line 429 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/load/TreeSchemaAutoCreatorAndVerifier.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 105).

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

Check warning on line 22 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/exception/load/LoadAnalyzeMissingDatabaseException.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This class has 6 parents which is greater than 5 authorized.

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

Check warning on line 81 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/TsFileSketchTool.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=AaGpihvOpDSRxurzTOqj&open=AaGpihvOpDSRxurzTOqj&pullRequest=19128

Check warning on line 1639 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 130).

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

Check warning on line 176 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/impl/schema/DeleteDatabaseProcedure.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=AaGpijdWpDSRxurzTOrj&open=AaGpijdWpDSRxurzTOrj&pullRequest=19128

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

Line is longer than 100 characters (found 103).

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

Check warning on line 81 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/client/async/handlers/rpc/CountPathsUsingTemplateRPCHandler.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 113).

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

Check warning on line 596 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/broker/consensus/ConsensusLogToTabletConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 127).

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

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=AaGpiiuxpDSRxurzTOrc&open=AaGpiiuxpDSRxurzTOrc&pullRequest=19128