[
https://issues.apache.org/jira/browse/FLINK-36840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17903708#comment-17903708
]
Dawid Wysakowicz commented on FLINK-36840:
------------------------------------------
Merged to 1.20: bbe1946923ec72d0fb0af7199adc6314ba4fc128
> Multiple time-related built-in functions cannot be called
> ---------------------------------------------------------
>
> Key: FLINK-36840
> URL: https://issues.apache.org/jira/browse/FLINK-36840
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / API
> Reporter: Gustavo de Morais
> Assignee: Gustavo de Morais
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.0.0, 1.20.1
>
>
> We have five time-related functions that can't be called by the Table API
> right now: LOCALTIME, LOCALTIMESTAMP, CURRENT_TIME, CURRENT_DATE,
> CURRENT_TIMESTAMP.
> They're currently being mapped with parenthesis, e.g. localTime() gets mapped
> to LOCALTIME() which is not valid Flink SQL.
>
> We have to update the built in function and add a custom call syntax that
> maps to the correct SQL built-in functions
--
This message was sent by Atlassian Jira
(v8.20.10#820010)