avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: Avro data type for datetimes?
Date Tue, 27 Aug 2013 18:22:39 GMT
On Fri, Aug 23, 2013 at 9:39 AM, Doug Cutting <cutting@apache.org> 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

Mime
View raw message