xanderbailey opened a new issue, #19330: URL: https://github.com/apache/datafusion/issues/19330
### Describe the bug Fixed in https://github.com/apache/datafusion/pull/19123 Currently if you have an expression on the left and the right that results in the same name, you get an error when converting from substrait. This is due to the fact that substrait only references columns by their position rather than their attribute name so during conversion expressions are named as their default i.e `CAST(...)` rather than keeping their original name. The fix implemented is to alias all projected expressions with a UUID, this makes the plan less readable but does make it correct. Because there is a decision to be made here about the readability of the plan I've made it a config on the session such that the user can decide which mode it should operate in. ### To Reproduce _No response_ ### Expected behavior _No response_ ### Additional context _No response_ -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
