mingmwang commented on issue #5808:
URL: 
https://github.com/apache/arrow-datafusion/issues/5808#issuecomment-1491755517

   Why it is tricky is because Subquery can be think of as a specific kind of 
nested loop join, the join condition is very specific and contains limit, the 
de-correlation process can be consider to push down the joins and covert the 
nested loop join to a normal join without limit as the join condition, it 
changes the evaluation ordering of the original operators, removing or keeping 
the limit in the re-written query will impact the correctness.


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