You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Sergey Nuyanzin (JIRA)" <ji...@apache.org> on 2018/05/10 09:45:00 UTC

[jira] [Commented] (FLINK-8518) Support DOW, EPOCH, DECADE for EXTRACT

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

Sergey Nuyanzin commented on FLINK-8518:
----------------------------------------

Hello [~twalthr]
I think I could take however I have a question
currently Calcite does not support EPOCH and DECADE correctly (please have a look at https://issues.apache.org/jira/browse/CALCITE-2303)
At the same time DOW could be supported right now
+ As there is its own _org.apache.calcite.avatica.util.DateTimeUtils_ where changes should be done to have others support should we wait its resolution on Calcite side?
 

> 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 &amp; SQL
>            Reporter: Timo Walther
>            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)