We need to handle create table new_table like old_table statements, by managing table schemas in a table map and copying the old_table's metadata as a new record in the map.
Debezium seems having the same issue as discussed in: https://issues.redhat.com/browse/DBZ-1496. But in its unit tests, I find that CREATE TABLE LIKE has been well-tested. I suppose this is a useful feature in the real world and we should support it eventually.
We need to handle
create table new_table like old_table
statements, by managing table schemas in a table map and copying the old_table's metadata as a new record in the map.This task is part of the work of https://github.com/neverchanje/chgcap-rs/issues/4.
Debezium seems having the same issue as discussed in: https://issues.redhat.com/browse/DBZ-1496. But in its unit tests, I find that
CREATE TABLE LIKE
has been well-tested. I suppose this is a useful feature in the real world and we should support it eventually.Here is the query event triggered by CREATE TABLE LIKE. For unknown reasons, there is no
UpdatedDbNames
status value in it.