emkornfield commented on a change in pull request #10969:
URL: https://github.com/apache/arrow/pull/10969#discussion_r694214435



##########
File path: cpp/src/parquet/arrow/path_internal.cc
##########
@@ -342,7 +341,9 @@ class ListPathNode {
     *child_range = selector_.GetRange(range->start);
     while (child_range->Empty() && !range->Empty()) {
       ++range->start;
-      *child_range = selector_.GetRange(range->start);
+      if (!range->Empty()) {
+        *child_range = selector_.GetRange(range->start);
+      }
     }

Review comment:
       done.  needed slightly different code.  range->start is only incremented 
if child range is empty.




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