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

Multiple yml file in rdb,the dbMapping Field overlay? #4863

Closed
2 tasks
bestboy opened this issue Sep 4, 2023 · 1 comment
Closed
2 tasks

Multiple yml file in rdb,the dbMapping Field overlay? #4863

bestboy opened this issue Sep 4, 2023 · 1 comment
Milestone

Comments

@bestboy
Copy link

bestboy commented Sep 4, 2023

  • I have searched the issues of this repository and believe that this is not a duplicate.
  • I have checked the FAQ of this repository and believe that this is not a duplicate.

environment

  • canal version 1.17
  • mysql version 5.7

Issue Description

i have a.yml,b.yml in rdb,when startup adapter,i find envProperties load all targetColumns in same dbMapping and it not Distinguish fields by file name。This results in an error when synchronizing data: Target column xxx not found.Because table b contains the fields of table a.. I'm wondering why sharing envProperties results in field overwriting

a.yml:
image
b.yml:
image
share envProperties ,the dbMapping conflict??
image

b.table contains a.table fields
image

Steps to reproduce

Expected behaviour

Actual behaviour

If there is an exception, please attach the exception trace:

Just put your stack trace here!
@bestboy bestboy changed the title Multiple rdb Files,the dbMapping Field overlay? Multiple yml file in rdb,the dbMapping Field overlay? Sep 4, 2023
@agapple
Copy link
Member

agapple commented Sep 4, 2023

#4560 , fixed

@agapple agapple closed this as completed Sep 4, 2023
@agapple agapple added this to the v1.1.7 milestone Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants