comphead commented on issue #4644:
URL: 
https://github.com/apache/arrow-datafusion/issues/4644#issuecomment-1376537326

   I found something weird. first logical plan failed silently on cast. second 
is arrow cast acts not consistently on the same inputs. so if I run through 
first test 
   ```
   [datafusion/expr/src/expr_schema.rs:268] &this_type = Date32
   [datafusion/expr/src/expr_schema.rs:269] &cast_to_type = Timestamp(
       Nanosecond,
       None,
   )
   [datafusion/expr/src/expr_schema.rs:270] can_cast_types(&this_type, 
cast_to_type) = true
   ```
   
   but if I run second test
   ```
   [datafusion/expr/src/expr_schema.rs:268] &this_type = Date32
   [datafusion/expr/src/expr_schema.rs:269] &cast_to_type = Timestamp(
       Nanosecond,
       None,
   )
   [datafusion/expr/src/expr_schema.rs:270] can_cast_types(&this_type, 
cast_to_type) = false
   ```
   
   I'm looking what in arrow-rs can cause such non determined behaviuor
   @liukun4515 @crepererum @alamb 


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