Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-28596

Use Java 8 time API in date_trunc

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.1.0
    • None
    • SQL
    • None

    Description

      The DateTimeUtils.truncTimestamp function can be fully implemented on top of Java 8 time API by adjusting ZonedDateTime to year, month, ..., seconds.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              maxgekk Max Gekk
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: