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

SET TIME ZONE standard sql command support

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.0
    • Component/s: SQL
    • Labels:
      None

      Description

      Function
      Set the current default time zone displacement for the current SQL-session.
      Format
      <set local time zone statement> ::=
      SET TIME ZONE <set time zone value>
      <set time zone value> ::=
      <interval value expression>
      | LOCAL
      
      Syntax Rules
      1) The declared type of the <interval value expression> immediately contained in the <set time zone value> shall be INTERVAL HOUR TO MINUTE.
      

        Attachments

          Activity

            People

            • Assignee:
              Qin Yao Kent Yao
              Reporter:
              Qin Yao Kent Yao
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: