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/22 07:12:03 UTC
[jira] [Updated] (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 updated SPARK-36119:
-----------------------------------
Fix Version/s: (was: 3.2.0)
3.3.0
Affects Version/s: (was: 3.2.0)
3.3.0
> 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.3.0
> Reporter: Gengliang Wang
> Assignee: Gengliang Wang
> Priority: Major
> Fix For: 3.3.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