pub(crate) fn gen_create_table_plan(
context: OptimizerContext,
table_name: ObjectName,
column_defs: Vec<ColumnDef>,
constraints: Vec<TableConstraint>,
col_id_gen: ColumnIdGenerator,
source_watermarks: Vec<SourceWatermark>,
append_only: bool,
on_conflict: Option<OnConflict>,
with_version_column: Option<String>,
) -> Result<(PlanRef, PbTable), RwError>
Expand description
gen_create_table_plan
generates the plan for creating a table without an external stream
source.