xiaofeicn opened a new issue, #15759: URL: https://github.com/apache/doris/issues/15759
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Description light_schema_change 可以做到增加列 在某些场景下不太适用 目前我用的是flink cdc put json 的方式同步Mysql数据到Doris,json 为行数据,{"A":123,”B":123},在使用light_schema_change后 1、如果对Mysql中字段重命名,如B改为C,json为{"A":123,”C":123},但是同步到Doris中会出现ABC三个字段 2、cdc 无法对Doris不存在的表导入,对整库同步中新建表无法做到同步 以上两个问题现在是提取log中的DDL,再转化为Doris可执行的DDL通过JDBC去执行,能否添加API对Doris 表做schema做更改, 如: {"before":[{"field":"B","type":"int64"}],"after":[{"field":"C","type":"int64"}],"type":"alter_column"} => B列名改为C {"before":[],"after":[{"field":"D","type":"int64"}],"type":"add_column"} => 增加列D {"before":[{"field":"B","type":"int64"}],"after":[{"field":"C","type":"varchar(255)"}],"type":"alter_column"} => INT列B 改为varchar类型的列C {"before":[],"after":[{"field":"A","type":"int64"},{"field":"B","type":"int64"},{"field":"D","type":"int64",},"PRIMARY KEY":[A,B]],"type":"create_table","其他配置":[]} =>新建表 ### Use case _No response_ ### Related issues _No response_ ### 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: commits-unsubscr...@doris.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org