Skip to content

Commit

Permalink
Use a bogus estimatedRowSize
Browse files Browse the repository at this point in the history
  • Loading branch information
astefan committed Mar 20, 2024
1 parent f860c6d commit de3540c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public static PhysicalPlan dataNodeReductionPlan(LogicalPlan plan, PhysicalPlan
if (pipelineBreakers.isEmpty() == false) {
UnaryPlan pipelineBreaker = (UnaryPlan) pipelineBreakers.get(0);
if (pipelineBreaker instanceof TopN topN) {
return new TopNExec(topN.source(), unused, topN.order(), topN.limit(), 0);
return new TopNExec(topN.source(), unused, topN.order(), topN.limit(), 1000);
} else if (pipelineBreaker instanceof Limit limit) {
return new LimitExec(limit.source(), unused, limit.limit());
} else if (pipelineBreaker instanceof OrderBy order) {
Expand Down

0 comments on commit de3540c

Please sign in to comment.