Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-51162 SPIP: Add the TIME data type
  3. SPARK-52715

Pretty SQL string of TIME - DAY-TIME INTERVAL

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.1.0
    • 4.1.0
    • SQL

    Description

      Improve SQL representation of subtract of TIME and DAY-TIME INTERVAL.

      Current form is:

      TIME '12:30:00' + (- INTERVAL '12:29:59.000001' HOUR TO SECOND
      

      should be changed to:

      TIME '12:30:00' - INTERVAL '12:29:59.000001' HOUR TO SECOND
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: