alamb commented on issue #4781:
URL: https://github.com/apache/arrow-rs/issues/4781#issuecomment-1707292337

   > FWIW this could just be Scalar<ArrayRef>
   
   That is good to know -- I did not realize that. Perhaps I will make a PR 
with some additional documentation about it in arrow-rs
   
   > Also not a great solution but you could just use ScalarValue::new_zero 😅
   
   That would be just fine for this usecase -- but how can I use that? 
`ScalarValue` doesn't appear to implement `Datum` 🤔 
   https://docs.rs/datafusion/latest/datafusion/common/enum.ScalarValue.html
   
   Or perhaps you are saying call 
https://docs.rs/datafusion/latest/datafusion/common/enum.ScalarValue.html#method.to_array
 and then make a `Scalar<ArrayRef>` 🤔  that could work


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