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

Support 2-arguments by the convert_timezone() function

    XMLWordPrintableJSON

Details

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

    Description

      1. If sourceTs is a timestamp_ntz, take the sourceTz from the session time zone, see the SQL config spark.sql.session.timeZone
      2. If sourceTs is a timestamp_ltz, convert it to a timestamp_ntz using the targetTz

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: