Skip to main content

bind_cdc_table_schema

Function bind_cdc_table_schema 

Source
pub(crate) fn bind_cdc_table_schema(
    column_defs: &Vec<ColumnDef>,
    constraints: &Vec<TableConstraint>,
    is_for_replace_plan: bool,
) -> Result<(Vec<ColumnCatalog>, Vec<String>)>
Expand description

Derive the schema of a CDC table from explicit SQL columns and constraints.