seatunnel
seatunnel copied to clipboard
[CDC] multi-table support transform?
Search before asking
- [X] I had searched in the issues and found no similar issues.
What happened
Caused by: org.apache.seatunnel.engine.common.exception.JobDefineCheckException: Adding transform to multi-table source is not supported.
SeaTunnel Version
2.3.4
SeaTunnel Config
env {
parallelism = 1
job.mode = "STREAMING"
checkpoint.interval = 5000
}
source {
SqlServer-CDC {
username = "sa"
password = "Password!"
startup.mode="initial"
exactly_once=true
result_table_name = "temp_orderdetail"
database-names = ["SCPRD"]
table-names = ["SCPRD.wmwhse2.ORDERDETAIL", "SCPRD.wmwhse3.ORDERDETAIL"]
base-url = "jdbc:sqlserver://192.168.103.113:1433;databaseName=SCPRD"
}
}
transform {
Sql {
source_table_name = "temp_orderdetail"
result_table_name = "temp_orderdetail2"
query = "select ORDERKEY from temp_orderdetail"
}
}
sink {
console {
source_table_name = "temp_orderdetail2"
}
}
Running Command
./bin/seatunnel.sh --config ./example/wms-sqlserver2sr-orderdetail -e local
Error Exception
Caused by: org.apache.seatunnel.engine.common.exception.JobDefineCheckException: Adding transform to multi-table source is not supported.
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.
This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.
Version 2.3.5 still has this issue, who can solve it