Function mz_sql::plan::query::plan_copy_from_rows
source ยท pub fn plan_copy_from_rows(
pcx: &PlanContext,
catalog: &dyn SessionCatalog,
id: CatalogItemId,
columns: Vec<usize>,
rows: Vec<Row>,
) -> Result<HirRelationExpr, PlanError>
Expand description
Builds a plan that adds the default values for the missing columns and re-orders the datums in the given rows to match the order in the target table.