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

Empty namespace is not allowed #457

Closed
vytautas-karpavicius opened this issue Sep 25, 2024 · 0 comments · Fixed by #459
Closed

Empty namespace is not allowed #457

vytautas-karpavicius opened this issue Sep 25, 2024 · 0 comments · Fixed by #459

Comments

@vytautas-karpavicius
Copy link

Currently, if an empty namespace field exists - parser complains with:

avro: namespace key must be non-empty or omitted

However, according to the latest specification this should be allowed.

A namespace is a dot-separated sequence of such names. The empty string may also be used as a namespace to indicate the null namespace. Equality of names (including field names and enum symbols) as well as fullnames is case-sensitive.

Parser should be relaxed, as this prohibits using it without additional hacks of removing such fields before parsing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant