-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem or challenge?
It is currently unsupported to run an insert into query for a listing table which is partitioned by a column.
Describe the solution you'd like
- ListingTable must be able to inject into FileSinkExec a distribution requirement that the incoming RecordBatchStreams are partitioned by the correct columns
- Each FileSink must be able to identify which stream belongs to which partition and create the appropriate ObjectStore writer
For 2, unless there is a slick solution FileSink could simply peak at each stream before initializing a writer.
Describe alternatives you've considered
No response
Additional context
Progress on inserts to sorted tables may be relevant https://github.com/apache/arrow-datafusion/pull/7743/files
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request