yyy1000 commented on PR #10276: URL: https://github.com/apache/datafusion/pull/10276#issuecomment-2081911759
I encountered a problem for `type_coercion` and need helpš„² Here `TypeCoercion` would rewrite an `Expr` thus brings a 'Cast', and the name for `Cast` would not just be the expr name in the `Cast` in this PR, thus `rewrite_preserving_name` will introduce an `Alias`, which is not expected. https://github.com/apache/datafusion/blob/b41ef20c5dad7bdd674e3cc5f35a9c99efae676c/datafusion/optimizer/src/analyzer/type_coercion.rs#L102-L116 -- 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]
