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

Backport #4129: schema_registry: Support default nil type in union for Avro #4133

Merged
merged 1 commit into from
Mar 29, 2022

Conversation

BenPope
Copy link
Member

@BenPope BenPope commented Mar 28, 2022

Cover letter

Backport #4129

For Avro, null type in a union is supported for backwards compatibility,
if it's also the default. The default value must be of the type of the
first type in the union.

This change allows that.

Fixes #4120
Fixes #4135

Release notes

Improvements

  • Schema Registry: Support default null type in union for Avro

For Avro, nil type in a union is supported for backwards compatibility,
if it's also the default. The default value must be of the type of the
first type in the union.

This change allows that.

Fixes redpanda-data#4120

(cherry picked from commit 2cfa559)
@BenPope BenPope added this to the v21.11.12 milestone Mar 28, 2022
@BenPope BenPope added kind/bug Something isn't working area/schema-registry Schema Registry service within Redpanda labels Mar 28, 2022
@BenPope
Copy link
Member Author

BenPope commented Mar 29, 2022

Unrelated failure in partition_moving_test_rpunit

@BenPope BenPope merged commit b270450 into redpanda-data:v21.11.x Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redpanda area/schema-registry Schema Registry service within Redpanda kind/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants