You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Auke van Leeuwen (JIRA)" <ji...@apache.org> on 2017/09/20 11:41:00 UTC

[jira] [Created] (AVRO-2079) Add ability to use Java 8 date/time types instead of Joda time.

Auke van Leeuwen created AVRO-2079:
--------------------------------------

             Summary: Add ability to use Java 8 date/time types instead of Joda time.
                 Key: AVRO-2079
                 URL: https://issues.apache.org/jira/browse/AVRO-2079
             Project: Avro
          Issue Type: Improvement
          Components: java, logical types
    Affects Versions: 1.8.2
            Reporter: Auke van Leeuwen


Currently, for the date/time related logical types we are generating Joda date/time objects. Since we've moved to Java-8 (AVRO-2043) it seems logical to also provide the possibility to generate {{java.time.*}} date/time objects instead of the Joda time variants.

I propose to make this is a swtich in {{SpecificCompiler.java}} which will default to Joda (I think), but can be set to generate the Java 8 versions.

(I'm currently trying to run through the code to see if I can make it work.)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)