Skip to content

[Pipe] Fix omitted legacy tablet compatibility follow-ups#17929

Open
Caideyipi wants to merge 4 commits into
masterfrom
fix-legacy-compat-followup
Open

[Pipe] Fix omitted legacy tablet compatibility follow-ups#17929
Caideyipi wants to merge 4 commits into
masterfrom
fix-legacy-compat-followup

spotless

e9f3c85
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jun 12, 2026 in 2m 41s

Quality Gate failed

Annotations

Check warning on line 103 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/util/TabletStatementConverter.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 157 to 64, Complexity from 26 to 14, Nesting Level from 4 to 2, Number of Variables from 34 to 6.

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

Check warning on line 198 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/payload/evolvable/request/PipeTransferTabletRawReq.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 108).

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

Check warning on line 73 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/payload/evolvable/request/PipeTransferTabletBatchReq.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof InsertRowsStatement insertrowsstatement'

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

Check warning on line 69 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/payload/evolvable/request/PipeTransferTabletBatchReq.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof InsertRowStatement insertrowstatement'

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

Check warning on line 372 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/util/TabletStatementConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 103).

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

Check failure on line 56 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/payload/evolvable/request/PipeTransferTabletBatchReq.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 71 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/payload/evolvable/request/PipeTransferTabletBatchReq.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof InsertTabletStatement inserttabletstatement'

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

Check warning on line 198 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/payload/evolvable/request/PipeTransferTabletBatchReq.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 124).

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

Check warning on line 424 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/util/TabletStatementConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'IllegalArgumentException'.

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

Check warning on line 182 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/payload/evolvable/request/PipeTransferTabletBatchReq.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 125).

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

Check warning on line 466 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/util/TabletStatementConverter.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 106 to 64, Complexity from 27 to 14, Nesting Level from 5 to 2, Number of Variables from 22 to 6.

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

Check warning on line 112 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/util/TabletStatementConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Distance between variable 'memorySize' declaration and its first usage is 6, 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=AZ66wM0moDZ83QuDcNzM&open=AZ66wM0moDZ83QuDcNzM&pullRequest=17929