bkietz commented on code in PR #37792:
URL: https://github.com/apache/arrow/pull/37792#discussion_r1337473380
##########
cpp/src/arrow/array/util.cc:
##########
@@ -271,6 +274,17 @@ class ArrayDataEndianSwapper {
return Status::OK();
}
+ Status Visit(const BinaryViewType& type) {
+ if (type.has_raw_pointers()) {
+ return Status::Invalid("Swapping endianness of ", type);
+ }
+
+ // XXX: This requires knowledge of whether the array is being swapped to
native endian
+ // or from it so that we know what size to trust when deciding whether
something is an
+ // inline view.
Review Comment:
https://github.com/apache/arrow/issues/37879
--
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]