Gengliang Wang created SPARK-36119:
--------------------------------------

             Summary: Add new SQL function to_timestamp_ltz
                 Key: SPARK-36119
                 URL: https://issues.apache.org/jira/browse/SPARK-36119
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 3.2.0
            Reporter: Gengliang Wang
            Assignee: Gengliang Wang


As the result of to_timestamp become consistent with the SQL configuration 
spark.sql.timestmapType and there is already a SQL function to_timestmap_ntz, 
we need  new function to_timestamp_ltz to construct timestamp with local time 
zone literal.
syntax:
```
to_timestamp_ltz(timestamp_str_column[, fmt])
to_timestamp_ltz(timestamp_column)
to_timestamp_ltz(date_column)
```



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to