candiduslynx commented on code in PR #35823:
URL: https://github.com/apache/arrow/pull/35823#discussion_r1211905458
##########
go/arrow/array/compare.go:
##########
@@ -450,6 +451,13 @@ func WithAbsTolerance(atol float64) EqualOption {
}
}
+// WithUnorderedMapKeys configures the comparison functions so that Map with
different entries order are considered equal.
+func WithUnorderedMapKeys(v bool) EqualOption {
+ return func(o *equalOption) {
+ o.unorderedMapKeys = v
+ }
+}
Review Comment:
Nope (as it's stated in the `KeysSorted` doc -- it's only for the user
private purposes, it's not used in the comparison (and this would definitely
become a breaking change if we use that).
--
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]