felipecrv commented on code in PR #35345:
URL: https://github.com/apache/arrow/pull/35345#discussion_r1355428811
##########
cpp/src/arrow/array/util.cc:
##########
@@ -280,6 +279,17 @@ class ArrayDataEndianSwapper {
return Status::OK();
}
+ Status Visit(const ListViewType& type) {
+ RETURN_NOT_OK(SwapOffsets<int32_t>(1));
+ RETURN_NOT_OK(SwapOffsets<int32_t>(2));
+ return Status::OK();
+ }
+ Status Visit(const LargeListViewType& type) {
Review Comment:
`clang-format` doesn't put a line break here and I did it like this to match
the two functions for `List` and `LargeList` right above it.
--
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]