westonpace commented on issue #35572:
URL: https://github.com/apache/arrow/issues/35572#issuecomment-1548403517

   With the dataset writer you should be able to adjust `max_rows_per_file` and 
`max_rows_per_group` to get your desired behavior.  By default 
`max_rows_per_file=0` (no limit) and so it should already behave how you expect:
   
   ```
   # Will create one file /tmp/my_dataset/part-0.parquet no matter how many 
rows are in
   # table1, table2, and table3.  Keep in mind that first argument can be any 
iterable of tables
   pyarrow.dataset.write_dataset([table1, table2, table3], "/tmp/my_dataset", 
format="parquet")
   ```


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