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

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   
   A `VariantArray` represents a list of `Variant` values. While it's internal 
layout is columnar, this detail is largely irrelevant to end users. 
   
   Currently, `Variant` impls `PartialEq`, but `VariantArray` does not. This 
makes it cumbersome to compare 2 arrays of variants for equality in user code: 
   
   
https://github.com/datafusion-contrib/datafusion-variant/blob/8081efc03ca6f3199a40dfbf0f9133e43adaaedd/src/shared.rs#L131-L165
   
   **Describe the solution you'd like**
   
   `impl PartialEq for VariantArray`
   
   **Additional context**
   <!--
   Add any other context or screenshots about the feature request here.
   -->
   
   This feature is motivated by 
[datafusion-variant](https://github.com/datafusion-contrib/datafusion-variant), 
a higher-level library that integrates with Datafusion through a series of udfs
   
   Related: https://github.com/apache/arrow-rs/issues/8609
   


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