Skip to content

Schema generation of defaults is incompatible with Avro schema #149

@DanWertheimer

Description

@DanWertheimer

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}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions