fsaintjacques commented on a change in pull request #6979:
URL: https://github.com/apache/arrow/pull/6979#discussion_r413814578



##########
File path: python/pyarrow/_parquet.pyx
##########
@@ -1083,6 +1084,50 @@ cdef class ParquetReader:
     def set_use_threads(self, bint use_threads):
         self.reader.get().set_use_threads(use_threads)
 
+    def iter_batches(self, int64_t batch_size, row_groups, column_indices=None,

Review comment:
       Ditto, I'd add a method `def set_batch_size(self, int64_t batch_size)`. 
Why do you need the `batch_size` and `use_threads` if they're already property 
of the class and the caller can change them via setters of the instance?




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to