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

Problem decoding Maps with union values #39

Closed
cowtowncoder opened this issue Jan 23, 2017 · 1 comment
Closed

Problem decoding Maps with union values #39

cowtowncoder opened this issue Jan 23, 2017 · 1 comment

Comments

@cowtowncoder
Copy link
Member

cowtowncoder commented Jan 23, 2017

(reported by a user)

Looks like Avro codec (version 2.7.8) writes nested Maps correctly, but has some issues with decoding, such that entries (of the outermost Map) after first one are dropped. That is, only the first key/value pair seems to be exposed.

@cowtowncoder cowtowncoder changed the title Problem with Avro Map decoding for Maps with multiple entries Problem decoding nested Maps in Avro Jan 23, 2017
@cowtowncoder
Copy link
Member Author

FWTW this seems to be less due to Map handling, and more with reading of Unions (with scalar member(s)?). Looks like state is not properly managed. Got a test case, hope to resolve soon.

cowtowncoder added a commit that referenced this issue Jan 24, 2017
@cowtowncoder cowtowncoder changed the title Problem decoding nested Maps in Avro Problem decoding Maps with union values Jan 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant