[
https://issues.apache.org/jira/browse/FLINK-35883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17868022#comment-17868022
]
yux commented on FLINK-35883:
-----------------------------
I'd like to investigate this based on FLINK-35272.
> Wildcard projection inserts column at wrong place
> -------------------------------------------------
>
> Key: FLINK-35883
> URL: https://issues.apache.org/jira/browse/FLINK-35883
> Project: Flink
> Issue Type: Bug
> Components: Flink CDC
> Reporter: yux
> Priority: Major
>
> In this case where a wildcard projection was declared:
> ```yaml
> transform:
> - projection: \*, 'extras' AS extras
> ```
> For upstream schema [a, b, c], transform operator should send [a, b, c,
> extras] to downstream.
> However, if another column 'd' was inserted at the end, upstream schema would
> be [a, b, c, d], and one might expect transformed schema to be [a, b, c, d,
> extras]. But it's [a, b, c, extras, d], since `AddColumnEvent{d,
> position=LAST}` was applied to [a, b, c, extras] after the projection process.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)