Skip to content

Avro Table Provider - #910

Merged
alamb merged 56 commits into
apache:masterfrom
Igosuki:avro2_m
Sep 15, 2021
Merged

Avro Table Provider#910
alamb merged 56 commits into
apache:masterfrom
Igosuki:avro2_m

Conversation

@Igosuki

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Closes#903.

Rationale for this change

Enables loading avro data files through datafusion.

What changes are included in this PR?

Avro is added as a table provider and a supported file format.
Avro schemas can be translated into arrow schemas.

Are there any user-facing changes?

Yes, as one can now call register_avro on df and 'STORED AS AVRO' in sqsl.

N.B.:

  • Need to add tests in avro_to_arrow/arrow_array_reader.rs

Missing :

  • Writing back to avro

I find there is duplication between modules with these additions, I should probably do some refactoring.

Loading
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancementNew feature or requestsqlSQL Planner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Avro table provider

8 participants

@Igosuki@alamb@nevi-me@Dandandan@NGA-TRAN@jimexist@houqp@jorgecarleitao