goldmedal commented on PR #13267: URL: https://github.com/apache/datafusion/pull/13267#issuecomment-2481832178
> That would impose a limit on future optimizations on logical plans, which isn't desirable. > @findepi I'm not sure about that. Why isn't it desirable? I aim to generate a logical plan with a suitable structure that's easy to convert to a physical plan and unparsed back to SQL. If we move some optimizations to the physical planner (e.g., removing unnecessary projection), we can still get the same execution plan without losing performance. 🤔 -- 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