apache / doris-flink-connector

Flink Connector for Apache Doris
https://doris.apache.org/
Apache License 2.0
292 stars 201 forks source link

[Enhancement] Supports altering column type / comment in SchemaChangeManager #402

Closed yuxiqian closed 1 week ago

yuxiqian commented 3 weeks ago

Search before asking

Description

Currently, Schema change manager could apply CreateTable, AddColumn, DropColumn, RenameColumn events to Doris, but AlterColumnType / Comment aren't supported yet.

Solution

A new method alterColumnType / alterColumnComment could be implemented in SchemaChangeManager class by building corresponding DDL and reuse schemaChange method.

Are you willing to submit PR?

Code of Conduct