Skip to content

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

@bestboy

Description

@bestboy
  • 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions