这是我在 flink sql 中建立的两张表: create table base ( id int, location varchar(20) )WITH ( 'connector' = 'kafka', 'topic' = 'example', 'properties.group.id' = 'testGroup', 'scan.startup.mode' = 'latest-offset', 'properties.bootstrap.servers' = 'localhost:9092', 'format' = 'canal-json', 'canal-json.ignore-parse-errors'='true' );
create table twocol ( a int, b varchar(20) ) -- WITH 部分和上面一样 此时我在 mysql 执行了以下插入: insert into base values (1, 'beijing'); canal 通过 kafka 将日志传给了 flink,于是 flink 的 base 表里多了一条记录 (1, 'beijing'),然而 twocol 表里也多了一条 (null, null). 请问大家,有什么方法可以指定哪张表接收对应的 catalog 吗?如果不能的话,大家是怎样解决这样的问题的,谢谢! -- Sent from: http://apache-flink.147419.n8.nabble.com/