开发者社区 问答 正文

Flink报错The primary key is necessary when enable...

已解决

Flink报错The primary key is necessary when enable 'Key: 'scan.incremental.snapshot.enabled'

展开
收起
提个问题 2024-05-24 13:10:52 95 分享 版权
1 条回答
写回答
取消 提交回答
  • 开发者社区问答官方账号
    官方回答
    升级到vvr-4.0.8以上版本,在源表DDL中加PK,如需要处理无pk表,那么在DDL的with参数中将scan.incremental.snapshot.enabled 设为 false即可。
    2024-05-24 13:10:54
    赞同 展开评论