liukun4515 commented on code in PR #4741:
URL: https://github.com/apache/arrow-datafusion/pull/4741#discussion_r1058269966


##########
datafusion/expr/src/type_coercion/functions.rs:
##########
@@ -177,35 +177,12 @@ pub fn can_coerce_from(type_into: &DataType, type_from: 
&DataType) -> bool {
         Timestamp(TimeUnit::Nanosecond, None) => {
             matches!(type_from, Null | Timestamp(_, None))
         }
-        Date32 => {

Review Comment:
   This was added from the commit 
https://github.com/comphead/arrow-datafusion/blob/4761802a4bc46d377406aa20767c4af66b80d65b/datafusion/expr/src/type_coercion/functions.rs#L180
 in the https://github.com/apache/arrow-datafusion/pull/4726
   
   I just revert useless codes adding from the PR 
https://github.com/apache/arrow-datafusion/pull/4726



-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to