andygrove commented on PR #3242:
URL: 
https://github.com/apache/arrow-datafusion/pull/3242#issuecomment-1225748871

   > These could easily be optimized out if we could run the optimizer here, 
but we can't. This also means we lose projection push-down when selecting from 
a view. This does at least fix the correctness issue, even if this is not 
efficient so it might be best to file a specific issue for this. I'll take 
another look at this tomorrow.
   
   I was wrong about this. We are optimizing. I will add a check to avoid 
adding a redundant 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