WinkerDu commented on issue #1184:
URL: 
https://github.com/apache/arrow-datafusion/issues/1184#issuecomment-1100832707

   > I can't remember how far I got with this one. If I were doing this project 
what I would do is try and change the code so that a `Null` constant (aka 
`ScalarValue` with an embedded `None`) as `DataType::Null` and then implement 
coercion rules for DataType::Null <--> All other types.
   
   @alamb
   I commit a pr 
[apache/arrow-rs#1572](https://github.com/apache/arrow-rs/pull/1572) to 
implement coercion rules for `DataType::Null` cast from and to all other types 
in `arrow-rs`. I think we can solve most of the `NULL` coercion issues  in df 
based on it.
   Please have a review, thank you.


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