You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "yux (Jira)" <ji...@apache.org> on 2025/03/06 08:43:00 UTC
[jira] [Commented] (FLINK-37429) Map each original column name to a new name in generated expression to support column name containing '-'
[ https://issues.apache.org/jira/browse/FLINK-37429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17932899#comment-17932899 ]
yux commented on FLINK-37429:
-----------------------------
Any chance this will fix FLINK-37326, too?
> Map each original column name to a new name in generated expression to support column name containing '-'
> ---------------------------------------------------------------------------------------------------------
>
> Key: FLINK-37429
> URL: https://issues.apache.org/jira/browse/FLINK-37429
> Project: Flink
> Issue Type: Improvement
> Components: Flink CDC
> Affects Versions: cdc-3.3.0
> Reporter: Xiao Huang
> Priority: Minor
> Fix For: cdc-3.4.0
>
>
> At present, Flink CDC uses janino to evaluate value for expressions in transform operator. However, the generated expression codes use original column name as variable name, which cannot support columns whose name does not conform the standard for java variable names (e.g. `timestamp-type`).
> This problem can be solved by mapping each column name to a new name when generating expression code.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)