bkietz commented on code in PR #35628:
URL: https://github.com/apache/arrow/pull/35628#discussion_r1231451002


##########
cpp/src/arrow/array/util.cc:
##########
@@ -267,6 +270,47 @@ class ArrayDataEndianSwapper {
     return Status::OK();
   }
 
+  Status Visit(const BinaryViewType& type) {
+    if (type.has_raw_pointers()) {
+      return Status::NotImplemented(
+          "Swapping endianness of binary / string view with raw pointers");

Review Comment:
   Agreed, I'll change the error code to `Invalid`



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