dufeng1010 opened a new issue, #8223: URL: https://github.com/apache/seatunnel/issues/8223
### 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 From v3.3.2 onwards, StarRocks supports renaming columns. if use previous version. program will report error and terminal. i suggest catch sqlexception. program will continue running. file is seatunnel\seatunnel-connectors-v2\connector-starrocks\src\main\java\org\apache\seatunnel\connectors\seatunnel\starrocks\util\SchemaUtils.java for example. from ``` try (Statement statement = connection.createStatement()) { log.info("Executing change column SQL: " + changeColumnSQL); statement.execute(changeColumnSQL); } ``` to ``` try (Statement statement = connection.createStatement()) { log.info("Executing change column SQL: " + changeColumnSQL); statement.execute(changeColumnSQL); } catch (SQLException e) { log.info("......"); } ``` ### SeaTunnel Version dev version ### SeaTunnel Config ```conf env { parallelism = 2 job.mode = "STREAMING" checkpoint.interval = 2000 } source { MySQL-CDC { base-url = "" username = "" password = "" table-names = [""] startup.mode = "" debezium = { include.schema.changes = true } } } sink { StarRocks { base-url="" nodeUrls = [] username = password = "" database = "" table = "" batch_max_rows = 10 schema_save_mode="RECREATE_SCHEMA" data_save_mode="DROP_DATA" starrocks.config = { format = "JSON" strip_outer_array = true }, save_mode_create_template = "CREATE TABLE IF NOT EXISTS `${database}`.`${table_name}` (${rowtype_primary_key},${rowtype_fields} ) ENGINE=OLAP PRIMARY KEY (${rowtype_primary_key}) DISTRIBUTED BY HASH (${rowtype_primary_key}) PROPERTIES ( \"replication_num\" = \"3\")", } } ``` ### Running Command ```shell bin/seatunnel.sh -c config/test -m local ``` ### Error Exception ```log i execute 'alter table test.test1 rename column <column1> to <column2>' in mysql. program will report following error: check the manual that corresponds to your MySQL server version for the right syntax to use near 'to' at line 1 ``` program will terminal. i use starrocks 2.5.19 version ``` ### Zeta or Flink or Spark Version Zeta ### Java or Scala Version jdk11 ### Screenshots _No response_ ### Are you willing to submit PR? - [X] 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: commits-unsubscr...@seatunnel.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org