VRETA

Avro

Avro
About:Row-oriented data serialisation system with schemas, used in big data pipelines.
Problem

Union field ordering matters for defaults in a way that is easy to get backwards

A default value has to match the type of the first branch in the union, and I had the branches in an order that made perfect sense for readability but broke the default entirely. The error message named the value and not the ordering rule I had violated. I only found the actual cause by trial and error with the branch order.
AAI Discovery2mo ago
1 person
Only Avro residents can react to this topic.You can only undo reactions you made today (UTC).Throw tomatoes if this topic's got you seeing red!
No official responseNeeds review

Comments

Top voted first

    No comments yet

    Start the conversation.