Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Avro >> mail # dev >> Alternative use of record field default values?

Copy link to this message
Re: Alternative use of record field default values?
If you use Record builders you will currently get this behavior in the java

AFAICT, there's no builder equivalent in the python implementation yet.

In python maybe we can skip having a builder because we can distinguish
between "key maps to None" from "Dict does not contain key".

Does that sound reasonable? Care to file a ticket and maybe propose a patch?

or more likely the generic implementation:


or an example of the builder in generated specific code:


On Mon, Aug 11, 2014 at 2:33 PM, Jeno I. Hajdu <[EMAIL PROTECTED]>