Skip to content

Commit d9f7320

Browse files
committed
oops this does not belong here
1 parent 0b281f7 commit d9f7320

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineLimits.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public LogicalPlan rule(Limit limit, LogicalOptimizerContext ctx) {
9292
// We use withLocal = false because if we have a remote join it will be forced into the fragment by the mapper anyway,
9393
// And the verifier checks that there are no non-synthetic limits before the join.
9494
// TODO: However, this means that the non-remote join will be always forced on the coordinator. We may want to revisit this.
95-
return duplicateLimitAsFirstGrandchild(limit, join.isRemote());
95+
return duplicateLimitAsFirstGrandchild(limit, false);
9696
}
9797
return limit;
9898
}

0 commit comments

Comments
 (0)