alamb commented on pull request #1212:
URL: https://github.com/apache/arrow-datafusion/pull/1212#issuecomment-958114854


   I think that during planning we should treat the type of any 
`ScalarValue::*(None)` as `DataType::Null` and coerce them appropriately to the 
needed types as part of physical planning.
   
   @Jimexist  I think added the needed casting logic in arrow-rs at 
https://github.com/apache/arrow-rs/pull/884 (though that didn't make it into 
6.1.0 -- so I suppose we have to wait a bit longer -- though maybe I'll end up 
making a 6.2.0 before 6.1.0 gets through the voting process 🤣 )
   
   Once we can cast from `DataType::Null` I think we'll be able to make this 
work in DataFusio


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