You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jett Dai (Jira)" <ji...@apache.org> on 2023/01/17 14:36:00 UTC

[jira] [Commented] (FLINK-30716) [Flink SQL] SQL function TO_TIMESTAMP(string1[, string2])'s result incorrect where string2 is default: 'yyyy-MM-dd HH:mm:ss'

    [ https://issues.apache.org/jira/browse/FLINK-30716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17677788#comment-17677788 ] 

Jett Dai commented on FLINK-30716:
----------------------------------

So, we should not choose any Flink 1.11, avoiding this version.

Martijn Visser (Jira) <ji...@apache.org> 于2023年1月17日周二 20:02写道:



> [Flink SQL] SQL function TO_TIMESTAMP(string1[, string2])'s result incorrect where string2 is default: 'yyyy-MM-dd HH:mm:ss'
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-30716
>                 URL: https://issues.apache.org/jira/browse/FLINK-30716
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Runtime
>    Affects Versions: 1.11.2
>            Reporter: Jett Dai
>            Priority: Minor
>
> A sql statement [
> select to_timestamp('2017-11-27 00:00:00')
> ] using funcation to_timestamp for parsing string date is executed, the result is 2017-11-27T00:00 when flink version 1.11.2, and yet it's correct where flink version 1.15.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)