yux created FLINK-35883:
---------------------------
Summary: 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
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)