Reproduce:
DROP TABLE IF EXISTS t;
CREATE TABLE t (id Int64, PRIMARY KEY(id));
ALTER TABLE t
ADD CHANGEFEED cdc WITH (
FORMAT='JSON',
MODE='NEW_AND_OLD_IMAGES'
);
ALTER TOPIC `t/cdc`
ADD CONSUMER c;
Error:
Error path 'local/t/cdc' is not compatible scheme object
Code: 500040
Expected behavior: table with cdc topic and consumer without errors.