You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "yux (Jira)" <ji...@apache.org> on 2024/08/06 06:02:00 UTC
[jira] [Created] (FLINK-35986) NULL literal is not supported in Transform rules
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)