tustvold commented on a change in pull request #1732:
URL: https://github.com/apache/arrow-datafusion/pull/1732#discussion_r799617177
##########
File path: datafusion/src/physical_plan/limit.rs
##########
@@ -300,6 +300,11 @@ impl ExecutionPlan for LocalLimitExec {
_ => Statistics::default(),
}
}
+
+ fn should_repartition_children(&self) -> bool {
+ // No reason to repartition children as this node is just limiting
each input partition.
+ false
Review comment:
As currently expressed this only prevent repartitioning of direct
children, I think you need something more than that for sortedness as discussed
on #424
--
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]