You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pipe: Modify the TableRawReq deserialization method to support directconversion to TableStatement. (#16844)
* Pipe: Modify the TableRawReq deserialization method to support direct conversion to TableStatement.
* fix
* fix
* fix
* fix
* fix
* update
* update
* update
* refactor: optimize TabletStatementConverter according to code review
- Optimize times array copy: skip copy when lengths are equal, use System.arraycopy
- Add warning logs when times array is null or too small
- Ensure all arrays (values, times, bitMaps) are copied to rowSize length for immutability
- Filter out null columns when converting Statement to Tablet
- Rename idColumnIndices to tagColumnIndices
- Add skipString method to avoid constructing temporary objects
- Add comments explaining skipped fields in readMeasurement
- Use direct buffer position increment instead of reading bytes for skipping
- Ensure all column values are copied to ensure immutability
* update
* update
Copy file name to clipboardExpand all lines: iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/payload/evolvable/request/PipeTransferTabletBatchReqV2.java
+1-6Lines changed: 1 addition & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,6 @@
33
33
34
34
importorg.apache.tsfile.utils.PublicBAOS;
35
35
importorg.apache.tsfile.utils.ReadWriteIOUtils;
36
-
importorg.apache.tsfile.write.record.Tablet;
37
36
38
37
importjava.io.DataOutputStream;
39
38
importjava.io.IOException;
@@ -247,11 +246,7 @@ public static PipeTransferTabletBatchReqV2 fromTPipeTransferReq(
Copy file name to clipboardExpand all lines: iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/payload/evolvable/request/PipeTransferTabletRawReq.java
Copy file name to clipboardExpand all lines: iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/payload/evolvable/request/PipeTransferTabletRawReqV2.java
0 commit comments