This is an automated email from the ASF dual-hosted git repository. xiangweiwei pushed a commit to branch sinkBug in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 6c36939915afa49fa3d1257d5f07c5695f9e382f Author: Alima777 <[email protected]> AuthorDate: Tue Feb 28 21:14:36 2023 +0800 Fix onebyOne with oneByOne child --- .../org/apache/iotdb/db/mpp/plan/planner/OperatorTreeGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/org/apache/iotdb/db/mpp/plan/planner/OperatorTreeGenerator.java b/server/src/main/java/org/apache/iotdb/db/mpp/plan/planner/OperatorTreeGenerator.java index d5a3abdb98..af268073c3 100644 --- a/server/src/main/java/org/apache/iotdb/db/mpp/plan/planner/OperatorTreeGenerator.java +++ b/server/src/main/java/org/apache/iotdb/db/mpp/plan/planner/OperatorTreeGenerator.java @@ -2547,7 +2547,7 @@ public class OperatorTreeGenerator extends PlanVisitor<Operator, LocalExecutionP subContext.addPipelineDriverFactory(childOperation, subContext.getDriverContext()); // OneByOneChild may be divided into more than dop pipelines, but the number of running - // is dop actually + // actually is dop int curChildPipelineNum = Math.min(dopForChild, subContext.getPipelineNumber() - originPipeNum); childPipelineNums.add(curChildPipelineNum);
