avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From felix gao <gre1...@gmail.com>
Subject Avro 1.4.1 Compiled Schema Missing wrapper collection
Date Thu, 31 Mar 2011 23:56:29 GMT
I have create a schema as

{

      "namespace": "avro.test",

      "name": "testTransferObject",

      "type": "map",

      "values": {

      "type": "array",

      "items" : {

      "type" : "map",

      "values" : {

      "namespace":"avro.test",

      "name" : "entry",

      "type" : "record",

      "fields" : [

      {"name":"Id", "type":"int"},

      {"name":"Category1", "type":"long"},

      {"name":"Category2", "type":"long"},

      {"name":"Segment1", "type":"long"},

      {"name":"Segment2", "type":"long"},

      {"name":"index", "type":"double"}

      ]

      }

       }

       }

}



The code generated by pecificCompiler.compileSchema only contains entry
under the package avro.test.  I am wondering where is the Map and Array go?
And the wrapper object testTransferObject does not seems to be generated.


Thanks,


Felix

Mime
View raw message