risingwave_pb::ddl_service

Type Alias PbReplaceTablePlan

source
pub type PbReplaceTablePlan = ReplaceTablePlan;
Expand description

Alias for ReplaceTablePlan.

Aliased Type§

struct PbReplaceTablePlan {
    pub table: Option<Table>,
    pub fragment_graph: Option<StreamFragmentGraph>,
    pub table_col_index_mapping: Option<ColIndexMapping>,
    pub source: Option<Source>,
    pub job_type: i32,
}

Fields§

§table: Option<Table>

The new table catalog, with the correct table ID and a new version. If the new version does not match the subsequent version in the meta service’s catalog, this request will be rejected.

§fragment_graph: Option<StreamFragmentGraph>

The new materialization plan, where all schema are updated.

§table_col_index_mapping: Option<ColIndexMapping>

The mapping from the old columns to the new columns of the table. If no column modifications occur (such as for sinking into table), this will be None.

§source: Option<Source>

Source catalog of table’s associated source

§job_type: i32