You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/11/24 13:37:08 UTC

[GitHub] [arrow] assignUser commented on issue #14725: How to partition by quantity with write_to_dataset

assignUser commented on issue #14725:
URL: https://github.com/apache/arrow/issues/14725#issuecomment-1326466314

   Without knowing what your data looks like it is hard to say how to better partition it. But you can raise the maximum number of partitions via `max_partitions` which defaults to 1024 or you could just limit the number of rows per file if you don't have a more specific partitioning scheme with `max_rows_per_file`: 
   https://arrow.apache.org/docs/python/generated/pyarrow.dataset.write_dataset.html#pyarrow.dataset.write_dataset
   
   Feel free to close the issue if this answers your question.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org