metesynnada commented on PR #5754:
URL: 
https://github.com/apache/arrow-datafusion/pull/5754#issuecomment-1494562080

   > Can we have a different physical optimizers list for the plans 
with/without unbounded sources?
   
   I think this would cause problems while we are using bounded and unbounded 
sources together in the same query. 
   
   > And I think the bound/unbounded source should be an attribute or method 
for Source Operators only.
   
   Assigning the responsibility to each ExecutionPlan to determine whether its 
input is unbounded or not, similar to order/distribution information, seems to 
be the optimal strategy for unifying unbounded and bounded execution. This 
approach maintains a separation of concerns and empowers us to make atomic 
decisions with our best effort. 
   
   Attempting to solve this problem globally may lead to inflexible design 
patterns and technical debt. Nonetheless, we currently have the capability to 
optimize and handle complex queries with a combination of both unbounded and 
bounded sources, which is a robust solution.
   
   
   


-- 
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]

Reply via email to