jayzhan211 commented on PR #27648:
URL: https://github.com/apache/datafusion/pull/27648#issuecomment-7193656026

   > Why are we moving `JoinSelection` after `EnsureRequirements`?
   
   The default order doesn't change. The goal is that no rule implicitly 
assumes it runs before `EnsureRequirements`, so `JoinSelection` should not 
break a requirement when it runs after it. I moved it only in a local harness 
to check that: on main, 293 records then fail planning.
   
   Thanks @2010YOUY01, @alamb and @zhuqi-lucas for the reviews. #27771 
(`JoinSelection`) and #27772 (`WindowTopN`) fix the two rules instead, so the 
physical planner doesn't need to repair the plan as this PR does. Those two PRs 
are the next step to review.
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to