Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-27790 Support ANSI SQL INTERVAL types
  3. SPARK-35749

Parse unit list interval literals as year-month/day-time interval types

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.2.0
    • SQL
    • None

    Description

      Currently, unit list interval literals like `interval '1' year '2' months` or `interval '1' day` or `interval '2' hours` are parsed as `CalendarIntervalType`.
      Such fields should be parsed as `YearMonthIntervalType` or `DayTimeIntervalType`.

      Attachments

        Activity

          People

            sarutak Kousuke Saruta
            sarutak Kousuke Saruta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: