avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gill, John" <John.G...@Teradata.com>
Subject Array of Unions
Date Tue, 08 Aug 2017 18:17:43 GMT
Is it valid for the items in an array to be Union schema?

  "type": "array",
  "items": { "type": [ "int", "boolean", "string" ] }

According to the spec it is ambiguous:

  *   items: the schema of the array's items.

I have tried this schema in both python and c and it generates exceptions for invalid Schema.
I was just curious if this was valid or not.

- John
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message