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

Schema generation of defaults is incompatible with Avro schema #149

Open
2 tasks done
DanWertheimer opened this issue Aug 25, 2022 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@DanWertheimer
Copy link
Collaborator

Checks

  • I added a descriptive title to this issue
  • I have searched (google, github) for similar issues and couldn't find anything

Bug

  • py2k version: 1.9.1
  • Python version: Any
  • Operating System: Any

Expected Result

When generating a Schema with a default, it should look like:

{"name": "xxx", "type": ["null", "boolean"], "default": null}

Actual Result

{"name": "xxx", "type": "boolean", "default": null}
@DanWertheimer DanWertheimer added the bug Something isn't working label Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant