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 Plain View
Avro >> mail # user >> Question about Avro "records"


+
Francis Galiegue 2013-02-27, 21:47
Copy link to this message
-
Re: Question about Avro "records"
That doesn't seem the case specially because if you define a record with a
bunch of optional fields, then you would end up with an empty object (or
rather an object with null values for its fields). Am I misunderstanding
your question?

On Wed, Feb 27, 2013 at 4:47 PM, Francis Galiegue <[EMAIL PROTECTED]>wrote:

> This is not written black on white in the spec, so this is a guess: in
> its JSON representation, fields defined in a record are the only
> permissible fields. And there can be zero fields, in which the JSON
> representation is just the empty object.
>
> Is this correct?
>
> --
> Francis Galiegue, [EMAIL PROTECTED]
> JSON Schema in Java: http://json-schema-validator.herokuapp.com
>

--
Pankaj Shroff
[EMAIL PROTECTED]
+
Francis Galiegue 2013-02-27, 22:14
+
Pankaj Shroff 2013-02-27, 22:21
+
Francis Galiegue 2013-02-27, 22:52
+
Doug Cutting 2013-02-27, 22:20
+
Francis Galiegue 2013-02-27, 22:51
+
Doug Cutting 2013-02-27, 23:10
+
Francis Galiegue 2013-02-27, 23:55
+
Doug Cutting 2013-02-28, 01:12
+
Jeremy Kahn 2013-02-28, 01:30
+
Doug Cutting 2013-02-28, 17:11
+
Francis Galiegue 2013-02-28, 01:40
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