Skip to content

spotless

4473471
Select commit
Loading
Failed to load commit list.
Draft

Support altering column/table names of table model #17079

spotless
4473471
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Mar 13, 2026 in 3m 57s

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 220 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/execute/performer/impl/ReadChunkCompactionPerformer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename "schema" which hides the field declared at line 80.

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

Check warning on line 1314 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 branch's code block is the same as the block for the branch on line 1310.

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

Check warning on line 280 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/write/InsertRowsNode.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=AZv5mT972uSom29dYv9a&open=AZv5mT972uSom29dYv9a&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 44 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/tsfile/evolution/EvolvedSchemaCache.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this TODO comment.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZv5mTxl2uSom29dYv8u&open=AZv5mTxl2uSom29dYv8u&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 83 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/modification/TagPredicate.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused method parameter "evolvedSchema".

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

Check warning on line 537 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 'endTimeOfSeqDevice' 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=AZzlW0uG6NOIKnbmOsHD&open=AZzlW0uG6NOIKnbmOsHD&pullRequest=17079

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

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=AZyYD1NKbU58Jn4MUVcR&open=AZyYD1NKbU58Jn4MUVcR&pullRequest=17079

Check warning on line 421 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 102).

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

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

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

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

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

Rename "database" which hides the field declared at line 52.

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

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

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

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

Check warning on line 19 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/modification/TagPredicate.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'package' should be separated from previous line.

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

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

Define a constant instead of duplicating this literal "Load active listening dir is not set." 3 times.

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

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

Call "Optional#isPresent()" before accessing the value.

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

Check warning on line 30 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/exception/table/TableSchemaInconsistentException.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 122).

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

Check failure 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

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

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

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

Override the "equals" method in this class.

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Lambda parameter name 'iChunkMetadata' must match pattern '^[a-z]([a-z0-9][a-zA-Z0-9]*)?$'.

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

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

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=AZxBZH9RVpQUFuH6Xqh5&open=AZxBZH9RVpQUFuH6Xqh5&pullRequest=17079

Check failure on line 80 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/active/ActiveLoadDirScanner.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=AZxWEyPBrB-yt5Ovl3nU&open=AZxWEyPBrB-yt5Ovl3nU&pullRequest=17079

Check warning on line 35 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/io/IOUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 222 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 '210'.

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