berkaysynnada commented on issue #14161: URL: https://github.com/apache/datafusion/issues/14161#issuecomment-2597694638
It's root cause is actually not `CsvExec`, it is `NestedLoopJoinExec` (projections can be embedded into CsvExec seamlessly). Moreover, the issue can be generalized as "improve projection pushdown logic on operators having built-in projection. Giving more details, when a projection has an input having a built-in projection, it is either pushed-down over it through the children, or refine its built-in projection. However, these can happen at the same time, and the example in the issue description is a good reproducer of it. -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org