[
https://issues.apache.org/jira/browse/FLINK-6693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16082534#comment-16082534
]
ASF GitHub Bot commented on FLINK-6693:
---------------------------------------
Github user fhueske commented on a diff in the pull request:
https://github.com/apache/flink/pull/4078#discussion_r126750513
--- Diff:
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/validate/FunctionCatalog.scala
---
@@ -374,6 +375,7 @@ class BasicOperatorTable extends
ReflectiveSqlOperatorTable {
SqlStdOperatorTable.CURRENT_TIME,
SqlStdOperatorTable.CURRENT_TIMESTAMP,
SqlStdOperatorTable.CURRENT_DATE,
+ DateTimeSqlFunction.DATE_FORMAT,
--- End diff --
The new function should also be added to the documentation (Table API +
SQL).
> Support DATE_FORMAT function in the Table / SQL API
> ---------------------------------------------------
>
> Key: FLINK-6693
> URL: https://issues.apache.org/jira/browse/FLINK-6693
> Project: Flink
> Issue Type: New Feature
> Components: Table API & SQL
> Reporter: Haohui Mai
> Assignee: Haohui Mai
>
> It would be quite handy to support the {{DATE_FORMAT}} function in Flink to
> support various date / time related operations:
> The specification of the {{DATE_FORMAT}} function can be found in
> https://prestodb.io/docs/current/functions/datetime.html.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)