[
https://issues.apache.org/jira/browse/FLINK-10108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16574698#comment-16574698
]
Timo Walther commented on FLINK-10108:
--------------------------------------
The DATE_FORMAT function is completely broken. The result depends on the local
timezone which should not be the case. See FLINK-10032. So this is a duplicate.
> DATE_FORMAT function in sql test throws a NumberFormatException
> ---------------------------------------------------------------
>
> Key: FLINK-10108
> URL: https://issues.apache.org/jira/browse/FLINK-10108
> Project: Flink
> Issue Type: Bug
> Components: Table API & SQL
> Reporter: Xingcan Cui
> Assignee: Ruidong Li
> Priority: Minor
>
> {{testSqlApi("DATE_FORMAT(TIMESTAMP '1991-01-02 03:04:06', '%m/%d/%Y')",
> "01/02/1991")}} will throw a {{NumberFormatException}}, whereas the function
> works fine in {{testAllApis()}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)