bkietz commented on a change in pull request #8317:
URL: https://github.com/apache/arrow/pull/8317#discussion_r499617235



##########
File path: python/pyarrow/_dataset.pyx
##########
@@ -962,6 +962,10 @@ cdef class ParquetFileFragment(FileFragment):
             return None
         return [RowGroupInfo.wrap(row_group) for row_group in c_row_groups]
 
+    @property
+    def num_row_groups(self):
+        return None if self.row_groups is None else len(self.row_groups)

Review comment:
       I'm adding a method to load just the number of row groups, leaving 
statistics unparsed




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to