Jacky Lau created FLINK-32699:
---------------------------------

             Summary: select typeof(proctime()); throw exception in sql-client
                 Key: FLINK-32699
                 URL: https://issues.apache.org/jira/browse/FLINK-32699
             Project: Flink
          Issue Type: Improvement
          Components: Table SQL / Planner
    Affects Versions: 1.18.0
            Reporter: Jacky Lau
             Fix For: 1.18.0


{code:java}
Flink SQL> select typeof(proctime()); 
 
[ERROR] Could not execute SQL statement. Reason: 
org.apache.flink.table.planner.codegen.CodeGenException: Mismatch of function's 
argument data type 'TIMESTAMP_LTZ(3) NOT NULL' and actual argument type 
'TIMESTAMP_LTZ(3)'
 {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to