jw-itq opened a new issue, #7669: URL: https://github.com/apache/seatunnel/issues/7669
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues. ### What happened When synchronizing MySQL to StarRocks in real-time, if a new column is added in MySQL, StarRocks cannot add a new column, but this leads to errors in writing other data. ### SeaTunnel Version dev ### SeaTunnel Config ```conf env { # You can set engine configuration here job.mode = "STREAMING" checkpoint.interval = 2000 checkpoint.timeout=600000 job.name = "test" } source { MySQL-CDC { username = "root" password = "***" base-url = "jdbc:mysql://test" #startup.mode = "latest" #startup.specific-offset.file = "mysql-bin.017679" #startup.specific-offset.pos = "31878924" table-names = [ "test.test" ] } } transform { } sink { StarRocks { nodeUrls = ["***:8030"] username = "admin" password = "***" database = "test" table = "${table_name}" base-url = "jdbc:mysql://****:9030/test" max_retries = 3 enable_upsert_delete = true starrocks.config = { format = "JSON" strip_outer_array = true } "schema_save_mode"="RECREATE_SCHEMA" "data_save_mode"="DROP_DATA" save_mode_create_template = """ CREATE TABLE IF NOT EXISTS test.`${table_name}` ( ${rowtype_primary_key}, ${rowtype_fields} ) ENGINE=OLAP PRIMARY KEY (${rowtype_primary_key}) DISTRIBUTED BY HASH (${rowtype_primary_key}) PROPERTIES ( "replication_num" = "3", "in_memory" = "false", "enable_persistent_index" = "true", "replicated_storage" = "true", "compression" = "LZ4" ) """ } } ``` ### Running Command ```shell seatunnel.sh -c test.conf ``` ### Error Exception ```log data error ``` ### Zeta or Flink or Spark Version zeta ### Java or Scala Version jdk1.8 ### Screenshots This is data from starrocks: <img width="1004" alt="image" src="https://github.com/user-attachments/assets/36fda0a7-0e12-4604-8882-f72075546e54"> This is data from MySQL: <img width="605" alt="image" src="https://github.com/user-attachments/assets/e506a335-a914-4c45-a4c0-20ed88dd497d"> ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
