jorgecarleitao opened a new pull request #8874: URL: https://github.com/apache/arrow/pull/8874
This PR observes that `ExecutionContext::collect(&self, plan: Arc<dyn ExecutionPlan>)` does not use `self` on its implementation. Using this observation, it refactors out `collect` out of `ExecutionContext` (into `physical_plan::collect`), thereby simplifying the execution of the plans, by not requiring creating an `ExecutionContext` just to execute a physical plan. From a design's perspective, this makes it obvious that the execution of a physical plan is entirely independent of a context and its state. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org