Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-2956: Use avro SchemaBuilder API to convert record #2957

Merged
merged 2 commits into from
Jul 24, 2024

Conversation

RustedBones
Copy link
Contributor

@RustedBones RustedBones commented Jul 16, 2024

The avro schema builder API is cleaner and more stable. It decreases chance of using newly introduced avro API in case user run with legacy avro version

As OPTIONAL converted fields sets null as default, increase consistency by using [] as default for REPEATED converted fields.

Fix: #2956

The avro schema builder API is cleaned and more stable. It decreases
chance of using newly introduced avro API in case user run with legacy
avro version

As OPTIONAL converted fields sets null as default, increas consistency
by usin [] as default for REPEATED converted fields.
Copy link
Contributor

@Fokko Fokko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good @RustedBones Thanks for working on this

Can you run mvn spotless:apply?

@Fokko Fokko modified the milestones: 1.15.0, 1.14.2 Jul 17, 2024
@wgtmac wgtmac merged commit e8bbfbb into apache:master Jul 24, 2024
9 checks passed
Fokko pushed a commit that referenced this pull request Aug 14, 2024
The avro schema builder API is cleaned and more stable. It decreases
chance of using newly introduced avro API in case user run with legacy
avro version

As OPTIONAL converted fields sets null as default, increase consistency
by using [] as default for REPEATED converted fields.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

parquet-avro 1.14 not compatible with avro 1.8
3 participants