Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-27764 Feature Parity between PostgreSQL and Spark
  3. SPARK-29713

Support Interval Unit Abbreviations in Interval Literals

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 3.0.0
    • None
    • SQL
    • None

    Description

      "year" | "years" | "y" | "yr" | "yrs" => YEAR
      "month" | "months" | "mon" | "mons" => MONTH
      "week" | "weeks" | "w" => WEEK
      "day" | "days" | "d" => DAY
      "hour" | "hours" | "h" | "hr" | "hrs" => HOUR
      "minute" | "minutes" | "m" | "min" | "mins" => MINUTE
      "second" | "seconds" | "s" | "sec" | "secs" => SECOND
      "millisecond" | "milliseconds" | "ms" | "msec" | "msecs" | "mseconds" => MILLISECOND
      "microsecond" | "microseconds" | "us" | "usec" | "usecs" | "useconds" => MICROSECOND

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Qin Yao Kent Yao 2
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: