yux created FLINK-35986: --------------------------- Summary: NULL literal is not supported in Transform rules Key: FLINK-35986 URL: https://issues.apache.org/jira/browse/FLINK-35986 Project: Flink Issue Type: Bug Components: Flink CDC Reporter: yux
Sometimes one may want to explicitly write down a NULL value, for example in some CASE - WHEN branches or when calling some UDF functions. However, it is not possible to write down such expressions, and an exception will be thrown: Caused by: java.lang.UnsupportedOperationException: Unsupported type: NULL at org.apache.flink.cdc.runtime.typeutils.DataTypeConverter.convertCalciteRelDataTypeToDataType(DataTypeConverter.java:181) at org.apache.flink.cdc.runtime.parser.TransformParser.generateProjectionColumns(TransformParser.java:189) ... -- This message was sent by Atlassian Jira (v8.20.10#820010)