[ 
https://issues.apache.org/jira/browse/AVRO-1672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14601458#comment-14601458
 ] 

Ryan Blue commented on AVRO-1672:
---------------------------------

The dependency on Joda is optional and we would add a similar set of Java 8 
conversions when we can add them. Then users get to choose which ones are used. 
Right now, that happens by adding conversions to their GenericData instances.

The specific support adds an accessor for the conversion to the specific 
classes. That way, the SpecificData object doesn't need to be configured. It 
will use whatever conversions were selected when the record was compiled. That 
makes it easy enough for us to provide a command-line flag like you suggest and 
have the readers and writers always use the right one.

> Add logical types and conversions for date, time, and timestamp.
> ----------------------------------------------------------------
>
>                 Key: AVRO-1672
>                 URL: https://issues.apache.org/jira/browse/AVRO-1672
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.7.7
>            Reporter: Ryan Blue
>            Assignee: Ryan Blue
>             Fix For: 1.7.8
>
>
> AVRO-739 added specs for date, time (ms), and timestamp (ms) logical types. 
> Now that AVRO-1497 has been committed, we should add those new logical types 
> and conversions for them.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to