Skip to content

[JDBC] Fix table-model driver defects that break generic JDBC clients - #18962

Merged
JackieTien97 merged 5 commits into
masterfrom
fix/jdbc-table-model-metadata-cancel
Oct 23, 2026
Merged

JackieTien97 merged 5 commits into
masterfrom
fix/jdbc-table-model-metadata-cancel

[JDBC] Keep pre-epoch timestamps, end comments at CR, accept the ns l…

71c711e
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Oct 22, 2026 in 3m 55s

Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)
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 96 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/planner/optimizations/SortElimination.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a stream instead of this loop.

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

Check warning on line 251 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/memory/MemoryPool.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'method call' child has incorrect indentation level 14, expected level should be 16.

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

Check warning on line 100 in iotdb-core/calc-commons/src/main/java/org/apache/iotdb/calc/execution/operator/process/CollectOperator.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused method parameter "childId".

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

Check warning on line 426 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/memory/MemoryPool.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 120).

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

Check warning on line 19 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/table/TreeToTableViewCache.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=AaFi4u5FcL4powoCO5Dx&open=AaFi4u5FcL4powoCO5Dx&pullRequest=18962

Check warning on line 503 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/table/DataNodeTableCache.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge the previous cases into this one using comma-separated label.

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

Check warning on line 688 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/ProcedureManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 110).

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

Check warning on line 292 in iotdb-client/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBResultMetadata.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge the previous cases into this one using comma-separated label.

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

Check warning on line 159 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/resource/memory/PipeMemoryManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unnecessary cast to "double".

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

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

Complete the task associated to this TODO comment.

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

Check warning on line 2218 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/planner/distribute/TableDistributedPlanGenerator.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof ProjectNode project'

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

Check warning on line 193 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/schema/TreeDeviceViewFieldDetector.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'SemanticException'.

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

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

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=AaFi4u0bcL4powoCO5Dq&open=AaFi4u0bcL4powoCO5Dq&pullRequest=18962

Check warning on line 590 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/ProcedureManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 110).

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

Check warning on line 257 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/memory/MemoryPool.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=AaFi4urycL4powoCO5Dl&open=AaFi4urycL4powoCO5Dl&pullRequest=18962

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

Complete the task associated to this TODO comment.

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

Check warning on line 118 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/table/ViewColumnAutoSyncTrigger.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 129).

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

Check warning on line 2190 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/planner/distribute/TableDistributedPlanGenerator.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "java.util.List.of()" instead.

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

Check warning on line 476 in iotdb-client/jdbc/src/main/java/org/apache/iotdb/jdbc/relational/IoTDBRelationalDatabaseMetadata.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure using a dynamically formatted SQL query is safe here.

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

Check warning on line 169 in iotdb-core/calc-commons/src/main/java/org/apache/iotdb/calc/execution/operator/process/AnyChildBlocked.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof Exception exception'

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

Check warning on line 62 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/SharedExchangeBudgetEligibility.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=AaFi4ufMcL4powoCO5DZ&open=AaFi4ufMcL4powoCO5DZ&pullRequest=18962

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'FileAlreadyExistsException'.

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

Check warning on line 355 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/schema/TreeDeviceViewFieldDetector.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 126).

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

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

Check failure on line 647 in iotdb-client/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBJDBCResultSet.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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