Skip to content

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

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

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

Merge branch 'iotdb_master' into feature/table-session-db-insert

0964da8
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 19, 2026 in 5m 16s

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 failure on line 3160 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 221 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/payload/evolvable/batch/PipeTabletEventPlainBatch.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=AaHzR_cWP0Tz7xgLNg47&open=AaHzR_cWP0Tz7xgLNg47&pullRequest=19237

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'case' child has incorrect indentation level 14, expected level should be 10.

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'case' child has incorrect indentation level 14, expected level should be 10.

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'case' child has incorrect indentation level 14, expected level should be 10.

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'switch rcurly' has incorrect indentation level 12, expected level should be 8.

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

Check warning on line 176 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/payload/evolvable/request/PipeTransferTabletRawReqV2.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=AaHzR_bxP0Tz7xgLNg46&open=AaHzR_bxP0Tz7xgLNg46&pullRequest=19237

Check warning on line 3076 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 1001 in iotdb-client/session/src/main/java/org/apache/iotdb/session/pool/SessionPool.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof Session session'

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

Check failure on line 1600 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 23 to the 15 allowed.

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'case' child has incorrect indentation level 14, expected level should be 10.

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

Check warning on line 1029 in iotdb-client/session/src/main/java/org/apache/iotdb/session/pool/SessionPool.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add 'since' and/or 'forRemoval' arguments to the @Deprecated annotation.

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

Check failure on line 1555 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 24 to the 15 allowed.

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

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

A "Map<String, Map>" cannot contain a "IDeviceID" in a "String" type.

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

Check warning on line 1030 in iotdb-client/session/src/main/java/org/apache/iotdb/session/pool/SessionPool.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'case' child has incorrect indentation level 14, expected level should be 10.

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

Check warning on line 78 in iotdb-client/isession/src/main/java/org/apache/iotdb/isession/ISession.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'case' child has incorrect indentation level 14, expected level should be 10.

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

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

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 '1,479'.

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

Check warning on line 118 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/agent/runtime/PipeSchemaRegionListenerManager.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 '103'.

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

Check warning on line 110 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/consensus/statemachine/ConfigRegionStateMachine.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Single-line Javadoc comment should be multi-line.

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

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

Remove this unused method parameter "databaseToEndpoint".

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

Check warning on line 1026 in iotdb-client/session/src/main/java/org/apache/iotdb/session/pool/SessionPool.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=AaHzR_tPP0Tz7xgLNg5N&open=AaHzR_tPP0Tz7xgLNg5N&pullRequest=19237

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'case' child has incorrect indentation level 14, expected level should be 10.

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

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

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 '2,808'.

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