Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Avro schema with a record as a record field causes an error #49

Closed
Kasen opened this issue Feb 22, 2018 · 0 comments
Closed

Avro schema with a record as a record field causes an error #49

Kasen opened this issue Feb 22, 2018 · 0 comments
Labels
bug Something isn't working prio1

Comments

@Kasen
Copy link
Contributor

Kasen commented Feb 22, 2018

Schema:

"user": {
    "type": "record",
    "name": "user",
    "fields": [
        {"name": "uid", "type": "long"},
        {"name": "p1", "type": "string"},
        {"name": "p2", "type": "string"},
        {
            "name": "nested",
            "type": {
                "type": "record",
                "name": "nested",
                "fields": [
                    {"name": "x", "type": "long"},
                    {"name": "y", "type": "long"}
                ]
            }
          }

    ]
}

Error:
Encountered multiple types named "nested"

@Kasen Kasen added bug Something isn't working prio1 labels Feb 22, 2018
Totktonada added a commit that referenced this issue Feb 26, 2018
Totktonada added a commit that referenced this issue Feb 27, 2018
Totktonada added a commit that referenced this issue Feb 27, 2018
Totktonada added a commit that referenced this issue Feb 28, 2018
Totktonada added a commit that referenced this issue Feb 28, 2018
Totktonada added a commit that referenced this issue Feb 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working prio1
Projects
None yet
Development

No branches or pull requests

1 participant