Replies: 1 comment
-
源表支持cdc模式就可以了,sink表用复合主键不用自增id |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我在使用flink-cdc同步数据的时候碰到一个问题,需求是同步到的目标表采用自增id,需要根据目标表的唯一性字段,更新某些列的数据或者新增数据。我用mysql的insert into ...on duplicate key update能满足改需求,但是发现目前flink sql不支持该语法,想请教大佬们有什么比较好的方案推荐?
Beta Was this translation helpful? Give feedback.
All reactions