{"id":"avro-union-disambiguation","text":"When encoding a Python dict into a union containing both a record and a map type, the encoder resolves ambiguity by matching dict keys against record field names first, falling back to map only if no record matches","truth_value":"IN","source":"entries/2026/05/29/avro-serializer-test_avro_serializer.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"explanation":{"steps":[{"node":"avro-union-disambiguation","truth_value":"IN","reason":"premise"}]}}