Skip to content

add debug logs

38c2cea
Select commit
Loading
Failed to load commit list.
Draft

Support altering column/table names of table model #17079

add debug logs
38c2cea
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Mar 6, 2026 in 4m 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 1328 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/DataRegion.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

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

Check failure on line 99 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/pipe/PipeEnrichedEvolveSchemaNode.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this "clone" implementation; use a copy constructor or copy factory instead.

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

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

A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 104 to 64, Complexity from 24 to 14, Nesting Level from 5 to 2, Number of Variables from 24 to 6.

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

Check warning on line 103 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/execute/utils/executor/fast/SeriesCompactionExecutor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check failure on line 39 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/task/DataRegionTask.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this constant name to match the regular expression '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.

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

Check warning on line 195 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/impl/schema/table/RenameTableProcedure.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this block of code, fill it in, or add a comment explaining why it is empty.

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

At-clause should have a non-empty description.

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

Check warning on line 60 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/load/LoadTsFileNode.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZxWEygLrB-yt5Ovl3nW&open=AZxWEygLrB-yt5Ovl3nW&pullRequest=17079

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

Summary javadoc is missing.

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

Check warning on line 177 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/write/InsertRowsOfOneDeviceNode.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "getIDeviceIDAsFullDevice"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZv5mT-S2uSom29dYv9b&open=AZv5mT-S2uSom29dYv9b&pullRequest=17079

Check warning on line 728 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/schemaregion/impl/SchemaRegionPBTreeImpl.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 112 to 64, Complexity from 36 to 14, Nesting Level from 6 to 2, Number of Variables from 24 to 6.

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

Check warning on line 35 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/execute/utils/TransformedTsFileDeviceIterator.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to use the more specialised Functional Interface 'UnaryOperator<IDeviceID>'

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

Check warning on line 169 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/impl/schema/table/RenameTableProcedure.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 536 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/selector/impl/RewriteCrossSpaceCompactionSelector.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Distance between variable 'startTimeOfSeqDevice' declaration and its first usage is 4, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value).

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

Check warning on line 38 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/execute/utils/ReorderedTsFileDeviceIterator.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused "ignored" local variable.

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

Check warning on line 526 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/tsfile/evolution/EvolvedSchema.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 '475'.

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

Check warning on line 1451 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/distribution/SourceRewriter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Local variable name 'tSeriesPartitionSlot' must match pattern '^[a-z]([a-z0-9][a-zA-Z0-9]*)?$'.

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

Check warning on line 255 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/tsfile/evolution/EvolvedSchema.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 '227'.

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

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

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

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

Check warning on line 62 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/execute/task/subtask/ReadPointPerformerSubTask.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 137 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/execute/utils/executor/batch/utils/FollowingBatchCompactionAlignedChunkWriter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to use the more specialised Functional Interface 'UnaryOperator<String>'

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Each variable declaration must be in its own statement.

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

Check warning on line 204 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/splitter/TsFileSplitter.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 89 to 64, Complexity from 16 to 14, Nesting Level from 6 to 2, Number of Variables from 25 to 6.

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

Check warning on line 146 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/write/EvolveSchemaNode.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use super.clone() to create and seed the cloned instance to be returned.

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