liukun4515 opened a new issue, #3582: URL: https://github.com/apache/arrow-datafusion/issues/3582
**Is your feature request related to a problem or challenge? Please describe what you are trying to do.** When I do this pr https://github.com/apache/arrow-datafusion/pull/3396/files# I am stuck by many issue about the type in the optimizer framework. **In other SQL or database system, the data type coercion should be done before any optimization.** But we do it in the physical phase, after the @andygrove work and add the `TypeCoercion` rule in the optimizer. It can be done in the logical phase. After the https://github.com/apache/arrow-datafusion/pull/3396/files# merge, we need to do the refactor. If the data type is not right, all the operation and optimization will meet some wired issue. cc @andygrove @alamb **Describe the solution you'd like** A clear and concise description of what you want to happen. **Describe alternatives you've considered** A clear and concise description of any alternative solutions or features you've considered. **Additional context** Add any other context or screenshots about the feature request here. -- 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]
