phpsxg opened a new issue, #14725:
URL: https://github.com/apache/arrow/issues/14725

   ### Describe the usage question you have. Please include as many useful 
details as possible.
   
   
   **write_to_dataset** partition by field, error is reported: 
**pyarrow.lib.ArrowInvalid: Fragment would be written into 32768 partitions. 
This exceeds the maximum of 1024,** is there a better way to partition ? Or can 
it be partitioned by quantity? Thanks
   
   
   ```
   pq.write_to_dataset(table,
     root_path=file_path,
     partition_cols=cls.partition_cols,
     existing_data_behavior='delete_matching',
     use_legacy_dataset=False
   )
   ```
   
   
   - python=3.10
   - pyarrow=10.0.0
   
   ### Component
   
   Python


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