You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Sergey Nuyanzin (Jira)" <ji...@apache.org> on 2025/01/12 20:32:00 UTC
[jira] [Commented] (FLINK-36862) Implement additional TO_TIMESTAMP_LTZ() functions
[ https://issues.apache.org/jira/browse/FLINK-36862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17912299#comment-17912299 ]
Sergey Nuyanzin commented on FLINK-36862:
-----------------------------------------
Merged as [c730292d645fc7ea24659f791eb8599b2c849408|https://github.com/apache/flink/commit/c730292d645fc7ea24659f791eb8599b2c849408]
> Implement additional TO_TIMESTAMP_LTZ() functions
> -------------------------------------------------
>
> Key: FLINK-36862
> URL: https://issues.apache.org/jira/browse/FLINK-36862
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / API
> Reporter: Yiyu Tian
> Assignee: Yiyu Tian
> Priority: Major
> Labels: pull-request-available
>
> {{TO_TIMESTAMP_LTZ()}} is a very important function. However, we should overload this function with more parameters:
> {code:java}
> TO_TIMESTAMP_LTZ(string1) -- Parse timestamp with default format TO_TIMESTAMP_LTZ(string1, string2) -- Parse timestamp with custom format TO_TIMESTAMP_LTZ(string1, string2, string3) -- Parse timestamp with format and timezone
> TO_TIMESTAMP_LTZ(numeric) -- For epoch milliseconds{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)