alamb commented on issue #26710:
URL: https://github.com/apache/datafusion/issues/26710#issuecomment-6402427525

   > Reproduced on main: ScalarSubquery(<subquery>) survives because 
PullUpCorrelatedExpr stops at the Sort (and at Limit for non-EXISTS), so 
build_join gets can_pull_up = false and the subquery reaches the physical 
planner.
   
   @princejain756  please read the rest of the comemnts in this PR first
   
   > Wow, this is an old one 😆 It was a really tough problem pre-AI, but feels 
worth another look now.
   
   Yes I agree it may have gotten cheap enough to implement now with AI


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