alamb commented on issue #4625:
URL: 
https://github.com/apache/arrow-datafusion/issues/4625#issuecomment-1352161132

   Note that there is already a physical rule that does some amount of 
reordering 
https://github.com/apache/arrow-datafusion/blob/master/datafusion/core/src/physical_optimizer/join_selection.rs
   
   cc @mingmwang  and @liukun4515  and @yahoNanJing  
   
   As I recall there were various opinions on how / when reordering should be 
done and when statistics would be available. There is always a tension between 
doing reordering earlier (logical planning) and later (physical planning) where 
the former is easier to express but the later often has more information
   
   Also @isidentical  has been working on expression / selectivity analysis 
(though also in the PhysicalPlan layer)


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