yuxiqian opened a new pull request, #3215: URL: https://github.com/apache/flink-cdc/pull/3215
According to [Doris documentation](https://doris.apache.org/docs/sql-manual/sql-reference/Data-Definition-Statements/Alter/ALTER-TABLE-COLUMN/), altering column types dynamically is supported (via `ALTER TABLE ... MODIFY COLUMN` statement) when lossless conversion is available. However, now Doris pipeline connector has no support for any `AlterColumnTypeEvent`s, and raises RuntimeException all the time. This PR adds `alterColumn` method which is not provided by Doris' `SchemaChangeManager` to apply `AlterColumnTypeEvent` to Doris sink. Only lossless conversions that were accepted by Doris will be allowed, and a `RuntimeException` will be raised for any incompatible narrowing casts. -- 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]
