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

Add the `DATEADD()` alias for `TIMESTAMPADD()`

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.3.0
    • SQL
    • None

    Description

      Introduce the dateadd() function, which takes three arguments: unit, number of units and datetime expression, i.e.,

      dateadd(unit, number_of_units, expr)
      

      The function can be an alias to timestampadd().

      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: