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

   I think there are 2 issues here.
   1. In the SQL case, the subquery plan inside the sub query expression does 
not get a chance to run all the optimizer rules,
   this is a known issue.
   2. In the DataFrame case, after apply the push_down_projection  rule, the 
subquery plan added unnecessary projection


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