alamb opened a new issue, #7697:
URL: https://github.com/apache/arrow-rs/issues/7697

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   As @scovich  points out, there are some data types such as `Decimal` or 
`Binary` where the Rust native type can express values that are not allowed in 
Variants 
   - https://github.com/apache/arrow-rs/pull/7653#discussion_r2147020306
   
   **Describe the solution you'd like**
   It would be nice to ensure that the `VariantBuilder` could only produce 
valid Variant values
   
   **Describe alternatives you've considered**
   
   To do so we would probably have to add error checking to the builder 
functions like `new_decimal` 🤔 
   
   **Additional context**
   <!--
   Add any other context or screenshots about the feature request here.
   -->
   


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