[
https://issues.apache.org/jira/browse/FLINK-8518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16488768#comment-16488768
]
ASF GitHub Bot commented on FLINK-8518:
---------------------------------------
Github user twalthr commented on the issue:
https://github.com/apache/flink/pull/6007
Hi @snuyanzin,
yes, I meant `docs/dev/table/sql.md`. Right now it is not documented which
units are supported by `EXTRACT`. Just because `DOW` is in the reserved
keywords section doesn't mean that we support it. I'm fine with having the same
schema than Calcite. We can create one or more issues for the docs and the
additional synonyms. Issues that need a newer Calcite version can be converted
to a subtask of FLINK-9134.
> Support DOW, EPOCH, DECADE for EXTRACT
> --------------------------------------
>
> Key: FLINK-8518
> URL: https://issues.apache.org/jira/browse/FLINK-8518
> Project: Flink
> Issue Type: Improvement
> Components: Table API & SQL
> Reporter: Timo Walther
> Assignee: Sergey Nuyanzin
> Priority: Major
>
> We upgraded Calcite to version 1.15 in FLINK-7934. The EXTRACT method
> supports more conversion targets. The targets DOW, EPOCH, DECADE should be
> implemented and tested for different datatypes.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)