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

Include unit into the sql string of TIMESTAMPADD/DIFF

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0, 3.4.0
    • 3.3.0
    • SQL
    • None

    Description

      After https://github.com/apache/spark/pull/35805, the sql method doesn't include unit anymore. The ticket aims to override the sql method in the TIMESTAMPADD and TIMESTAMPDIFF expressions, and prepend unit.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: