Aitozi created FLINK-32711: ------------------------------ Summary: Type mismatch when proctime function used as parameter Key: FLINK-32711 URL: https://issues.apache.org/jira/browse/FLINK-32711 Project: Flink Issue Type: Improvement Components: Table SQL / Planner Affects Versions: 1.18.0 Reporter: Aitozi
reproduce case: {code:sql} SELECT TYPEOF(PROCTIME()) {code} this query will fail with 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)'. -- This message was sent by Atlassian Jira (v8.20.10#820010)