scovich commented on PR #8179:
URL: https://github.com/apache/arrow-rs/pull/8179#issuecomment-3234582016

   > > > > Can use `variant_get` for shredded numeric types
   > > > 
   > > > 
   > > > What happens if `variant_get` encounters a `typed_value: LONG` at the 
requested path, but the caller requested `Some(Int32)` type that doesn't match? 
Is there code somewhere else to handle the casting? (I don't see any unit tests 
that cover the case, either)
   > > 
   > > 
   > > Any thoughts on this, @superserious-dev ?
   > 
   > Currently this PR only covers the case where the user has not requested a 
specific output type.
   
   Ah, that makes it easy then!
   
   Thanks for the clear explanation.


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