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 # user >> Avro data type for datetimes?


Copy link to this message
-
Re: Avro data type for datetimes?
On Fri, Aug 23, 2013 at 9:39 AM, Doug Cutting <[EMAIL PROTECTED]> wrote:
> Since release 1.7.4, Avro Java will serialize and deserialize
> instances of java.util.Date using the following schema:
>
>   {"type":"string", "java-class":"java.util.Date"}

Oops.  I forgot that this was reverted in AVRO-1155.

  https://issues.apache.org/jira/browse/AVRO-1155

So I think we're better off specifying a standard schema for
datetimes.  The existing Jira for this is:

  https://issues.apache.org/jira/browse/AVRO-739

I'll try to create a patch for this soon.

Doug
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