Closed zhangjun0x01 closed 1 year ago
Thanks @zhangjun0x01 for reporting, this is by designed. The framework is hard to support true renaming. We should document this behavior.
Thanks @zhangjun0x01 for reporting, this is by designed. The framework is hard to support true renaming. We should document this behavior.
yes ,it is difficult to distinguish ALTER TABLE t RENAME COLUMN a to a1
and ALTER TABLE t DROP a , ADD a1 int
,
Although MySQL supports these two grammars, the change data obtained by debezium is the same (except for ddl)
Thanks @zhangjun0x01 for reporting, this is by designed. The framework is hard to support true renaming. We should document this behavior.
yes ,it is difficult to distinguish
ALTER TABLE t RENAME COLUMN a to a1
andALTER TABLE t DROP a , ADD a1 int
,Although MySQL supports these two grammars, the change data obtained by debezium is the same (except for ddl)
Can you document this?
Currently, the framework can not drop columns, so the behaviors of `DROP ...` and `RENAME` are ...
Thanks @zhangjun0x01 for reporting, this is by designed. The framework is hard to support true renaming. We should document this behavior.
yes ,it is difficult to distinguish
ALTER TABLE t RENAME COLUMN a to a1
andALTER TABLE t DROP a , ADD a1 int
, Although MySQL supports these two grammars, the change data obtained by debezium is the same (except for ddl)Can you document this?
Currently, the framework can not drop columns, so the behaviors of `DROP ...` and `RENAME` are ...
ok , I will do it later
I found documentation is wrong: "are supported. Other type changes will cause exceptions.". https://paimon.apache.org/docs/master/how-to/cdc-ingestion/ Actually, there is no exception.
Search before asking
Paimon version
0.4
Compute Engine
flink
Minimal reproduce step
a
toa1
a1
, and do not drop old columna
.What doesn't meet your expectations?
The result does not meet expectations
Anything else?
No response
Are you willing to submit a PR?