You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gengliang Wang (Jira)" <ji...@apache.org> on 2021/07/13 09:39:00 UTC

[jira] [Resolved] (SPARK-36119) Add new SQL function to_timestamp_ltz

     [ https://issues.apache.org/jira/browse/SPARK-36119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gengliang Wang resolved SPARK-36119.
------------------------------------
    Fix Version/s: 3.2.0
       Resolution: Fixed

Issue resolved by pull request 33318
[https://github.com/apache/spark/pull/33318]

> 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
>            Priority: Major
>             Fix For: 3.2.0
>
>
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org