mkoistinen commented on issue #34758: URL: https://github.com/apache/arrow/issues/34758#issuecomment-2035248357
> I think the issue you are seeing is that **Dataset.to_batches() doesn't combine row groups, so if your row groups are smaller than a batch size you will get smaller batches.** You should think of batch_size here as an upper bound. This should *really* be in the documentation: https://arrow.apache.org/docs/python/generated/pyarrow.dataset.Dataset.html#pyarrow.dataset.Dataset.to_batches -- 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]
