Skip to content

[Avro] Silently ignores complex unions #777

@walterschell

Description

@walterschell

Describe the bug, including details regarding any error messages, version, and platform.

if n.schema.(*avro.UnionSchema).Nullable() {

Only processes simple nullable unions and does not process complex unions, but silently ignores them.
Expectation:

  1. Limitation to simple nullables is documented
  2. By default, schema with complex unions errors out during conversion unless an optional flag to override this behavior and drop complex union types is passed.

Component(s)

Other

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions