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

Support java.time.Duration as an external type of CalendarIntervalType

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • 3.1.0
    • None
    • SQL
    • None

    Description

      Currently, Spark SQL doesn't have any external type for Catalyst's CalendarIntervalType. Internal CalendarInterval is partially exposed but it cannot be used in UDF for example. This ticket aims to provide `java.time.Duration` as one of external types of Spark `INTERVAL`.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: