SteveYurongSu commented on code in PR #11757:
URL: https://github.com/apache/iotdb/pull/11757#discussion_r1436035496
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/connector/payload/evolvable/request/PipeTransferTabletBatchReq.java:
##########
@@ -60,7 +61,10 @@ public Pair<InsertRowsStatement,
InsertMultiTabletsStatement> constructStatement
final List<InsertTabletStatement> insertTabletStatementList = new
ArrayList<>();
for (final PipeTransferTabletBinaryReq binaryReq : binaryReqs) {
- final Statement statement = binaryReq.constructStatement();
+ final InsertBaseStatement statement = binaryReq.constructStatement();
+ if (statement.isEmpty()) {
+ continue;
+ }
Review Comment:
TODO: check all connectors' implementation
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]