Skip to content

Fixed the bug of 305 error for unsupported table opreations #16816

70eee3a
Select commit
Loading
Failed to load commit list.
Merged

Add IT for session and jdbc query #16821

Fixed the bug of 305 error for unsupported table opreations #16816
70eee3a
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 26, 2025 in 3m 46s

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 128 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/write/ObjectNode.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.io.IOException', as it cannot be thrown from method's body.

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

Check warning on line 267 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/rescon/disk/TierManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge this if statement with the enclosing one.

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

Check failure on line 211 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/write/ObjectNode.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=AZrAK2hpGMwAcynQS8Fo&open=AZrAK2hpGMwAcynQS8Fo&pullRequest=16821

Check warning on line 1091 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/metadata/TableMetadataImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 134).

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Return an empty collection instead of null.

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 111 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/MemUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge this if statement with the enclosing one.

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

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

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=AZrAK2d_GMwAcynQS8Fb&open=AZrAK2d_GMwAcynQS8Fb&pullRequest=16821

Check warning on line 37 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/ObjectWriter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused "LOGGER" private field.

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

Check failure on line 186 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/write/ObjectNode.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested try block into a separate method.

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

Check failure on line 208 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/write/ObjectNode.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.

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

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

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

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

Check warning on line 152 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/write/ObjectNode.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=AZrAK2hpGMwAcynQS8Fg&open=AZrAK2hpGMwAcynQS8Fg&pullRequest=16821

Check warning on line 211 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/write/ObjectNode.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=AZrAK2hpGMwAcynQS8Fn&open=AZrAK2hpGMwAcynQS8Fn&pullRequest=16821

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Return a non null object.

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check failure on line 531 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/execute/utils/CompactionUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested try block into a separate method.

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

Check warning on line 129 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/sql/util/AstUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reduce the total number of break and continue statements in this loop to use at most one.

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

Check failure on line 136 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/rescon/disk/TierManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "All disks of tier {} are full." 3 times.

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