-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Component: PythonStatus: stale-warningIssues and PRs flagged as stale which are due to be closed if no indication otherwiseIssues and PRs flagged as stale which are due to be closed if no indication otherwiseType: usageIssue is a user questionIssue is a user question
Description
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
Metadata
Metadata
Assignees
Labels
Component: PythonStatus: stale-warningIssues and PRs flagged as stale which are due to be closed if no indication otherwiseIssues and PRs flagged as stale which are due to be closed if no indication otherwiseType: usageIssue is a user questionIssue is a user question