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

   > Right, but the way safe casting is implemented in variant_to_arrow returns 
an Err when a cast yields `None`. That’s what’s causing the issue.
   > 
   > 
https://github.com/apache/arrow-rs/blob/980ea0b36c79a9e996efd90ad5f24571f0f9c0e0/parquet-variant-compute/src/variant_to_arrow.rs#L709-L724
   
   Ah, that's awkward. Doesn't distinguish `None` due to `Variant::Null` vs. 
`None` due to incompatible other type...


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