Huh. Thanks Sean! Mike On Aug 5, 2014 4:09 PM, "Sean Busbey" <[email protected]> wrote:
> Hi Mike! > > Yep, the specification calls out that only those types that are named > (records, enums, and fixed) can occur multiple times in a union[1]. > > [1]: http://avro.apache.org/docs/1.7.7/spec.html#Unions > > > On Tue, Aug 5, 2014 at 2:28 PM, Michael Pigott < > [email protected]> wrote: > >> Hi, >> I looked through the JIRA tickets but I did not find one that matched >> what I just ran into - unions can't have multiple maps, even if each one >> has a different value type? Automatic-map-generation is the last feature >> I'm adding to AVRO-457 <https://issues.apache.org/jira/browse/AVRO-457> >> (before >> Avro -> XML conversion) and I was surprised that two maps, each with >> different value types, could not co-exist in a union. Is this on purpose? >> >> Thanks! >> Mike >> > > > > -- > Sean >
