-
使用flink cdc 3.0.1,mysql中表的主键是bigint unsigned,会被自动转为decimal。但sink端是starrocks,不支持decimal作为主键的,会报错。希望能用bigint的,这个问题如何解决呢 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
bigint的问题我看到在3.1中会解决 https://issues.apache.org/jira/browse/FLINK-34690 |
Beta Was this translation helpful? Give feedback.
-
Hi @yuyii, thank you for reporting this. Could you please clarify your problem? Are you trying to use
|
Beta Was this translation helpful? Give feedback.
Hi @yuyii, the JDBC properties should not work since MySQL CDC captures changing data by parsing BinLog instead of establishing JDBC connection. I could reproduced this problem with the following setup:
I believe it's a CDC type mapping issue, and created a JIRA ticket …