Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
cdc-3.1.0
Description
Description
When the parameter of 'tables' in mysql pipeline job contains a table which database and table are with the same name like 'app.app', the job will fail and the error meaasge is like:
java.lang.IllegalArgumentException: Cannot find any table by the option 'tables' = app.app
How to reproduce
Create database and table all named `app`, then submit a pipeline job like this YAML defined:
source:
type: mysql
hostname: localhost
port: 3306
username: root
password: 123456
tables: app.app
server-id: 5400-5404
server-time-zone: UTC
sink:
type: doris
fenodes: 127.0.0.1:8030
username: root
password: ""
table.create.properties.light_schema_change: true
table.create.properties.replication_num: 1pipeline:
name: Sync MySQL Database to Doris
parallelism: 2