Skip to content

Support AVRO Format for Write Queries #7679

@devinjdangelo

Description

@devinjdangelo

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

I expect some of the common functions in https://github.com/apache/arrow-datafusion/blob/main/datafusion/core/src/datasource/file_format/write.rs can be reused in the avro implementation.

Describe alternatives you've considered

Don't support writing avro files

Additional context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions