Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 of 3 tasks
lliuql opened this issue Mar 6, 2024 · 3 comments
Assignees
Labels
Invalid Invalid Optimization Optimization function
Milestone

Comments

@lliuql
Copy link

lliuql commented Mar 6, 2024

Search before asking

  • 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 lliuql added Bug Something isn't working Waiting for reply Waiting for reply labels Mar 6, 2024
@github-actions github-actions bot changed the title [Bug] [CDCSOURCE ] 数据库名字带字符串-无法整库同步 [Bug] [CDCSOURCE] The database name contains a string - the entire database cannot be synchronized Mar 6, 2024
Copy link

github-actions bot commented Mar 6, 2024

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。如有任何问题,可以评论回复。

@Zzm0809
Copy link
Contributor

Zzm0809 commented Mar 6, 2024

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

@Zzm0809 Zzm0809 added Optimization Optimization function and removed Bug Something isn't working Waiting for reply Waiting for reply labels Mar 6, 2024
@Zzm0809 Zzm0809 changed the title [Bug] [CDCSOURCE] The database name contains a string - the entire database cannot be synchronized [Optimization] [CDCSOURCE] The database name contains a string - the entire database cannot be synchronized Mar 6, 2024
@Zzm0809 Zzm0809 added this to the 1.1.0 milestone Mar 13, 2024
Copy link

github-actions bot commented May 1, 2024

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 github-actions bot added the Invalid Invalid label May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Invalid Invalid Optimization Optimization function
Projects
Status: ToDo
Development

No branches or pull requests

3 participants