yuxiqian opened a new pull request, #3557:
URL: https://github.com/apache/flink-cdc/pull/3557
Currently, transform doesn't work very well with schema evolution.
The main issue is that TransformOperator (including Pre- and Post-) simply
passes all upstream schema change events to downstream, which isn't correct
under most cases.
Here's corresponding operations this PR tries to do in various transform
rule definitions:
| | `*, ...`
| `..., *, ...` | `..., *`
| No asterisk |
|----------------------|------------------------------------------------------------------|-------------------------------------------------|------------------------------------------|---------------------------------------------|
| AddColumnEvent | Yes, but LAST position needs position reordering
(LAST -> AFTER) | Yes, but FIRST / LAST position needs reordering | Yes, but
FIRST position needs reordering | No |
| AlterColumnTypeEvent | Yes
| Yes | Yes
| Yes if that column was referenced |
| RenameColumnEvent | Yes
| Yes | Yes
| No, exception if that column was referenced |
| DropColumnEvent | Yes
| Yes | Yes
| No, exception if that column was referenced |
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]