Skip to content

Support database-scoped tablet insertion in table sessions - #19237

Open
shuwenwei wants to merge 6 commits into
masterfrom
feature/table-session-db-insert
Open

shuwenwei wants to merge 6 commits into
masterfrom
feature/table-session-db-insert

Fix nested route cache test compilation

f53ab9a
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 12, 2026 in 5m 52s

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHN-0wqo2mj_z9fa0lV&open=AaHN-0wqo2mj_z9fa0lV&pullRequest=19237

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

WhitespaceAround: '{' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3)

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHN-1vEo2mj_z9fa0la&open=AaHN-1vEo2mj_z9fa0la&pullRequest=19237

Check warning on line 376 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/execution/QueryExecution.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Catch Exception instead of Error.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHN-ye4o2mj_z9fa0kn&open=AaHN-ye4o2mj_z9fa0kn&pullRequest=19237

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

Expected @throws tag for 'IOException'.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHN-xy6o2mj_z9fa0kd&open=AaHN-xy6o2mj_z9fa0kd&pullRequest=19237

Check warning on line 233 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/conf/ConfigNodeStartupCheck.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'ConfigurationException'.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHN-2-do2mj_z9fa0lm&open=AaHN-2-do2mj_z9fa0lm&pullRequest=19237

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

Replace this instanceof check and cast with 'instanceof InsertValues insertvalues'

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHN-zEko2mj_z9fa0k6&open=AaHN-zEko2mj_z9fa0k6&pullRequest=19237

Check warning on line 181 in iotdb-client/subscription/src/main/java/org/apache/iotdb/session/subscription/consumer/base/AbstractSubscriptionConsumerBuilder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHN-3TDo2mj_z9fa0lu&open=AaHN-3TDo2mj_z9fa0lu&pullRequest=19237

Check warning on line 102 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/udf/UDFTable.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Convert this Map to an EnumMap.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHN-xjEo2mj_z9fa0kS&open=AaHN-xjEo2mj_z9fa0kS&pullRequest=19237

Check warning on line 81 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/udf/UDFTable.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Convert this Map to an EnumMap.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHN-xjEo2mj_z9fa0kQ&open=AaHN-xjEo2mj_z9fa0kQ&pullRequest=19237

Check warning on line 302 in iotdb-core/calc-commons/src/main/java/org/apache/iotdb/calc/plan/relational/planner/ir/GlobalTimePredicateExtractVisitor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof GenericLiteral genericliteral'

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHN-2Ppo2mj_z9fa0lf&open=AaHN-2Ppo2mj_z9fa0lf&pullRequest=19237

Check failure on line 3038 in iotdb-client/session/src/main/java/org/apache/iotdb/session/Session.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=AaHN-38Fo2mj_z9fa0l4&open=AaHN-38Fo2mj_z9fa0l4&pullRequest=19237

Check warning on line 1515 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/fragment/FragmentInstanceContext.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHN-0d3o2mj_z9fa0lT&open=AaHN-0d3o2mj_z9fa0lT&pullRequest=19237

Check warning on line 1065 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/analyzer/ExpressionAnalyzer.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=AaHN-zK_o2mj_z9fa0k8&open=AaHN-zK_o2mj_z9fa0k8&pullRequest=19237

Check warning on line 210 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/udf/service/UDFClassLoaderManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHN-xf7o2mj_z9fa0kO&open=AaHN-xf7o2mj_z9fa0kO&pullRequest=19237

Check warning on line 162 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/agent/task/subtask/processor/PipeProcessorSubtaskWorker.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 117).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHN-1Cbo2mj_z9fa0lX&open=AaHN-1Cbo2mj_z9fa0lX&pullRequest=19237

Check warning on line 2957 in iotdb-client/session/src/main/java/org/apache/iotdb/session/Session.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'IoTDBConnectionException'.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHN-38Fo2mj_z9fa0l6&open=AaHN-38Fo2mj_z9fa0l6&pullRequest=19237

Check warning on line 178 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/statement/crud/InsertRowsOfOneDeviceStatement.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHN-zb0o2mj_z9fa0lF&open=AaHN-zb0o2mj_z9fa0lF&pullRequest=19237

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

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHN-3Mlo2mj_z9fa0lr&open=AaHN-3Mlo2mj_z9fa0lr&pullRequest=19237

Check warning on line 147 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/udf/UDFTable.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHN-xjEo2mj_z9fa0ka&open=AaHN-xjEo2mj_z9fa0ka&pullRequest=19237

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

Replace this instanceof check and cast with 'instanceof Binary binary'

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHN-y3to2mj_z9fa0k3&open=AaHN-y3to2mj_z9fa0k3&pullRequest=19237

Check warning on line 168 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/sql/ast/InsertValues.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHN-yxOo2mj_z9fa0kz&open=AaHN-yxOo2mj_z9fa0kz&pullRequest=19237

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof IoTDBRuntimeException iotdbruntimeexception'

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHN-0Aio2mj_z9fa0lN&open=AaHN-0Aio2mj_z9fa0lN&pullRequest=19237

Check warning on line 86 in iotdb-client/subscription/src/main/java/org/apache/iotdb/session/subscription/SubscriptionSessionWrapper.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHN-3ioo2mj_z9fa0l2&open=AaHN-3ioo2mj_z9fa0l2&pullRequest=19237

Check warning on line 1499 in iotdb-client/session/src/main/java/org/apache/iotdb/session/Session.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename "deviceIdToEndpoint" which hides the field declared at line 178.

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

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

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaHN-yRco2mj_z9fa0kj&open=AaHN-yRco2mj_z9fa0kj&pullRequest=19237