[
https://issues.apache.org/jira/browse/FLINK-6894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sunjincheng closed FLINK-6894.
------------------------------
Resolution: Duplicate
> Add DATE_FORMAT supported in SQL
> --------------------------------
>
> Key: FLINK-6894
> URL: https://issues.apache.org/jira/browse/FLINK-6894
> Project: Flink
> Issue Type: Sub-task
> Components: Table API & SQL
> Affects Versions: 1.4.0
> Reporter: sunjincheng
>
> DATE_FORMAT(date,format) Formats the date value according to the format
> string.
> * Syntax:
> DATE_FORMAT(date,format)
> * Arguments
> **date: -
> **format: -
> * Return Types
> String
> * Example:
> DATE_FORMAT('2009-10-04 22:23:00', '%W %M %Y') -> 'Sunday October 2009'
> DATE_FORMAT('1900-10-04 22:23:00','%D %y %a %d %m %b %j') -> '4th 00 Thu 04
> 10 Oct 277'
> * See more:
> ** [MySQL|
> https://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html#function_date-format]
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)