avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Nip <p...@yahoo-inc.com>
Subject Is it legal avro schema to have a name tie to different type in different record
Date Mon, 15 Sep 2014 00:29:09 GMT
Hi All,

Is the following legal schema:

{

{

  "metadata" : {

    "schema" : {

      "family" : "search",

      "version" : "v1",

      "attrs" : [ "srch" ]

    }

  }

}{

  "metadata" : {

    "schema" : {

      "family" : "UDB",

      "version" : "v1",

      "attrs" : [ "login", "reg" ]

    }

  }

}

}

Note the metadata is appear twice in 2 different record with different definition.

Thanks
Patrick

Mime
View raw message