felipecrv commented on code in PR #35345:
URL: https://github.com/apache/arrow/pull/35345#discussion_r1388508797


##########
cpp/src/arrow/array/util.cc:
##########
@@ -383,6 +393,12 @@ class NullArrayFactory {
       return Status::OK();
     }
 
+    template <typename T>
+    enable_if_list_view<T, Status> Visit(const T&) {
+      buffer_length_ = length_ * sizeof(typename T::offset_type);

Review Comment:
   Yeah. I also thought it should have been length 0 on the recursive call to 
children. I'm pushing a change with some `XXX` comments we should remove before 
merge.



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