You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/04/04 18:11:35 UTC

[GitHub] [arrow-datafusion] alamb commented on issue #1184: Null constants can not be used in most expressions

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

   Thanks @WinkerDu  
   
   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.
   
   I tried this at some point and I think I hit issues in `arrow-rs` 's `cast` kernel not knowing how to cast from `Null` to other types, which has since been fixed I think 


-- 
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-unsubscribe@arrow.apache.org

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