Avro, mail # user - Re: what's the efficiency difference between type: "string" and ["string", "null"] - 2014-03-14, 08:57
 Search Hadoop and all its subprojects:

Switch to Threaded View
Copy link to this message
Re: what's the efficiency difference between type: "string" and ["string", "null"]
I think the specification is clear about that.


So there is an overhead but that may not be the main issue.

The issue might be more about defining a correct schema. If a field can be
null then all clients should handle the case when the field is indeed null.
That's a 'hygiene issue' (or data quality issue if your prefer), like with
a database schema.



Bertrand Dechoux
On Fri, Mar 14, 2014 at 9:15 AM, Fengyun RAO <[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