dinky icon indicating copy to clipboard operation
dinky copied to clipboard

[Optimization] [CDCSOURCE] The database name contains a string - the entire database cannot be synchronized

Open lliuql opened this issue 11 months ago • 3 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

What happened

image

What you expected to happen

带字符串-会导致同步不了。

How to reproduce

EXECUTE CDCSOURCE cdc_mysql WITH ( 'connector' = 'mysql-cdc', 'hostname' = 'rm-xxxxxxxx', 'port' = '3306', 'username' = 'root', 'password' = 'xxx-xxxx', 'checkpoint' = '3000', 'scan.startup.mode' = 'initial', 'parallelism' = '1', 'database-name' = 'middle-platform', 'table-name' = 'middle-platform.blade_client,middle-platform.blade_dept', 'sink.connector' = 'jdbc', 'sink.url' = 'jdbc:mysql://120.0.0.1:3306/middle-platform?characterEncoding=utf-8&useSSL=false', 'sink.username' = 'root', 'sink.password' = 'x-x', 'sink.sink.db' = 'middle-platform', 'sink.table.prefix' = '', 'sink.table-name' = '#{tableName}', 'sink.driver' = 'com.mysql.cj.jdbc.Driver', 'sink.sink.buffer-flush.interval' = '2s', 'sink.sink.buffer-flush.max-rows' = '100', 'sink.sink.max-retries' = '5', 'sink.auto.create' = 'true' )

Anything else

No response

Version

1.0.0

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

lliuql avatar Mar 06 '24 02:03 lliuql

Hello @lliuql, this issue is about CDC/CDCSOURCE, so I assign it to @aiwenmo. If you have any questions, you can comment and reply.

你好 @lliuql, 这个 issue 是关于 CDC/CDCSOURCE 的,所以我把它分配给了 @aiwenmo。如有任何问题,可以评论回复。

github-actions[bot] avatar Mar 06 '24 02:03 github-actions[bot]

Perhaps you can do some compatibility processing at the code level when building the entire library to synchronize ddl, such as adding `` backticks.

Zzm0809 avatar Mar 06 '24 03:03 Zzm0809

Hello @, this issue has not been active for more than 30 days. This issue will be closed in 7 days if there is no response. If you have any questions, you can comment and reply.

你好 @, 这个 issue 30 天内没有活跃,7 天后将关闭,如需回复,可以评论回复。

github-actions[bot] avatar May 01 '24 00:05 github-actions[bot]