Skip to content

[Pipe] Reduce allocations in query Field copying and Tablet batch encoding - #19282

Open
Caideyipi wants to merge 5 commits into
masterfrom
codex/pipe-tablet-pr-20261113
Open

Caideyipi wants to merge 5 commits into
masterfrom
codex/pipe-tablet-pr-20261113

Add AirGap mixed-type serialization coverage

0ed9517
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Nov 18, 2026 in 4m 40s

Annotations

Check failure on line 1092 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/AlignedWritableMemChunk.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

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=AaHtggN_Ly9860H4m2Th&open=AaHtggN_Ly9860H4m2Th&pullRequest=19282

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=AaHtggN_Ly9860H4m2Ti&open=AaHtggN_Ly9860H4m2Ti&pullRequest=19282

Check warning on line 4034 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' has incorrect indentation level 16, expected level should be 12.

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

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=AaHtggN_Ly9860H4m2Tl&open=AaHtggN_Ly9860H4m2Tl&pullRequest=19282

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=AaHtggN_Ly9860H4m2Te&open=AaHtggN_Ly9860H4m2Te&pullRequest=19282

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=AaHtggN_Ly9860H4m2Tf&open=AaHtggN_Ly9860H4m2Tf&pullRequest=19282

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=AaHtggN_Ly9860H4m2Tk&open=AaHtggN_Ly9860H4m2Tk&pullRequest=19282

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=AaHs6ca-p1qD7ThqXF9M&open=AaHs6ca-p1qD7ThqXF9M&pullRequest=19282

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=AaHtggN_Ly9860H4m2Tg&open=AaHtggN_Ly9860H4m2Tg&pullRequest=19282

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=AaHtggN_Ly9860H4m2Tj&open=AaHtggN_Ly9860H4m2Tj&pullRequest=19282

Check warning on line 281 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/pipe/source/IoTDBConfigRegionSource.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=AaHtggR7Ly9860H4m2To&open=AaHtggR7Ly9860H4m2To&pullRequest=19282

Check warning on line 3964 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=AaHtggN_Ly9860H4m2Td&open=AaHtggN_Ly9860H4m2Td&pullRequest=19282

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=AaHtpkqXGcGtb3bTOliM&open=AaHtpkqXGcGtb3bTOliM&pullRequest=19282

Check warning on line 441 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/pipe/source/PipeConfigTreePrivilegeParseVisitor.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=AaHtggRVLy9860H4m2Tn&open=AaHtggRVLy9860H4m2Tn&pullRequest=19282