https://nightlies.apache.org/flink/flink-docs-release-1.15/release-notes/flink-1.13/
The sql-client-defaults.yaml YAML file is deprecated and not provided in the release package.
And超超
2021-12-07
老师,你好,最近遇到了一个问题:create table source(
id STRING,
name STRING
)with ();
create table sink(
id STRING,
name STRING
,primary key (id) not ENFORCED
)with ();
create view newData as
select a.id,a.name
from source as a
left JOIN
sink as b
on a.id = b.id
where b.id is null;
insert into sink
select * from newData
where id is not null;
执行完这条sql之后,将原来sink表的数据覆盖了,这是怎么回事呢?