You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Gustavo de Morais (Jira)" <ji...@apache.org> on 2024/12/03 18:57:00 UTC

[jira] [Created] (FLINK-36840) Multiple time-related built-in functions cannot be called

Gustavo de Morais created FLINK-36840:
-----------------------------------------

             Summary: 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
             Fix For: 2.0.0


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)