common_meta::ddl::alter_table::region_request

Function create_proto_alter_kind

source
fn create_proto_alter_kind(
    table_info: &RawTableInfo,
    alter_kind: &Kind,
) -> Result<Option<Kind>>
Expand description

Creates region proto alter kind from table_info and alter_kind.

Returns the kind and next column id if it adds new columns.