Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Avro >> mail # dev >> Can Nested or Child Record has same namespace as of parent record?


Copy link to this message
-
Re: Can Nested or Child Record has same namespace as of parent record?
If a nested schema specifies no namespace then the namespace of its
parent is used.  A nested schema's namespace is not printed unless it
differs from its parent's.  If you extract only the nested
"productRecord" schema and print it un-nested then the namespace will
be shown.  E.g.,

transactionSchema.getField("productRecord").schema().toString()

Doug

On Tue, Jun 3, 2014 at 3:36 PM, hiteshpahuja <[EMAIL PROTECTED]> wrote:

 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB