findepi commented on issue #12622: URL: https://github.com/apache/datafusion/issues/12622#issuecomment-2668553621
> Should type coercion be handled in the physical optimizer, Did you mean physical planner? Physical plan is statically typed, and uses DataType, If we go from LP to PP, we need to use types correctly (just as we need to use correct types when going from SQL text to LP https://github.com/apache/datafusion/issues/14618) > implement kernels for types that share the same NativeType but have different DataType values? I think we should start with what is simpler, i.e the current state, where PP is statically typed with DataType. later, IMO, we should relax that, and this is covered by https://github.com/apache/datafusion/issues/12720 -- 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]
