Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2079

Add ability to use Java 8 date/time types instead of Joda time.

    XMLWordPrintableJSON

    Details

    • Hadoop Flags:
      Reviewed

      Description

      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 switch 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.)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pvorb Paul Vorbach
                Reporter:
                aukevanleeuwen Auke van Leeuwen
              • Votes:
                8 Vote for this issue
                Watchers:
                15 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: