Caideyipi commented on code in PR #12313:
URL: https://github.com/apache/iotdb/pull/12313#discussion_r1562385423
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/load/LoadTsFileNode.java:
##########
@@ -103,6 +103,11 @@ public List<WritePlanNode> splitByPartition(Analysis
analysis) {
statement.isDeleteAfterLoad(),
statement.getWritePointCount(i)));
}
+
+ for (int i = 0; i < statement.getFailedTsFiles().size(); i++) {
+ res.add(
+ new LoadSingleTsFileNode(getPlanNodeId(),
statement.getFailedTsFiles().get(i), false));
Review Comment:
I think java stream api is maybe better ;-)
--
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]