PartialEq
of GenericByteViewArray (StringViewArray / ByteViewArray) that compares on equality rather than logical value
#6679
Labels
arrow
Changes to the arrow crate
documentation
Improvements or additions to documentation
enhancement
Any new improvement worthy of a entry in the changelog
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
As @tustvold points out on https://github.com/apache/arrow-rs/pull/6673/files#r1827839121 this is inconsistent with how
PartialEq
is implemented for other arrays, which compare based on ArrayData which compares based on equality:arrow-rs/arrow-data/src/data.rs
Lines 1777 to 1781 in ebcc4a5
Describe the solution you'd like
Implement
PartialEq
forGenericByteViewArray
that compares two arrays on logical value rather than physical representationDescribe alternatives you've considered
Add manual impl of
PartialEq
toGenericByteViewArray
Additional context
The text was updated successfully, but these errors were encountered: