[
https://issues.apache.org/jira/browse/SPARK-36119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17379692#comment-17379692
]
Apache Spark commented on SPARK-36119:
--------------------------------------
User 'gengliangwang' has created a pull request for this issue:
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
>
> 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]