You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem or challenge?
Writing Avro files is currently not supported in DataFusion, such as via COPYor INSERT INTO queries. This would be a nice feature to have and recently came up in the discord channel.
Describe the solution you'd like
Implement create_write_physical_plan for AvroFormat
Implement FileSink on a AvroSink struct
Implement file writing options / string parsing in FileTypeWriterOptions for avro
Thanks @Veeupup -- for this one the first thing we need to do is get an avro writer and the second part is hooking it into DataFusion. There is some work upstream in arrow-rs to make an avro reader/writer in apache/arrow-rs#4886 but I think that project is stilled at the moment
In case you want to start early, I have a PR that integrates with the latest arrow main that you could use until we actually release arrow 57 (likely will be late next week)
There hasn't been much activity for a while related to this issue, so I've created a draft PR that adds the necessary wiring. Still in draft because the code was AI authored and I still want to go through it one more time before marking it ready for review.
Activity
Veeupup commentedon Dec 4, 2023
@alamb Hi, I can help with this ticket : )
alamb commentedon Dec 4, 2023
Thanks @Veeupup -- for this one the first thing we need to do is get an avro writer and the second part is hooking it into DataFusion. There is some work upstream in arrow-rs to make an avro reader/writer in apache/arrow-rs#4886 but I think that project is stilled at the moment
jecsand838 commentedon Oct 16, 2025
@alamb @devinjdangelo
Since apache/arrow-rs#4886 is now closed and
arrow-avrois set for release witharrow-rsv57.0.0 this month, we could probably resume progress here.I wouldn't mind taking this and having it ready for the DataFusion v51 release.
alamb commentedon Oct 16, 2025
In case you want to start early, I have a PR that integrates with the latest arrow main that you could use until we actually release arrow 57 (likely will be late next week)
jecsand838 commentedon Oct 20, 2025
take
pepijnve commentedon Sep 3, 2026
There hasn't been much activity for a while related to this issue, so I've created a draft PR that adds the necessary wiring. Still in draft because the code was AI authored and I still want to go through it one more time before marking it ready for review.
apache#7679 Refine error mapping
Add write support to Avro format (apache#24925)