liukun4515 commented on issue #3387:
URL: 
https://github.com/apache/arrow-datafusion/issues/3387#issuecomment-1248858118

   When I try to fix this bug with remove below code
   ```
       // same type => all good
       if lhs_type == rhs_type {
           return Some(lhs_type.clone());
       }
   ```
   
   When move the type coercion to the logical phase, the result data type of 
the expr can be determined in the logical phase.
   
   In the physical phase, we must not use the type coercion to coerce the data 
type.


-- 
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]

Reply via email to