MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / describe_copy_from_table

Function describe_copy_from_table

src/sql/src/plan/statement/dml.rs:1831–1838  ·  view source on GitHub ↗
(
    scx: &StatementContext,
    table_name: <Aug as AstInfo>::ItemName,
    columns: Vec<Ident>,
)

Source from the content-addressed store, hash-verified

1829}
1830
1831pub fn describe_copy_from_table(
1832 scx: &StatementContext,
1833 table_name: <Aug as AstInfo>::ItemName,
1834 columns: Vec<Ident>,
1835) -> Result<StatementDesc, PlanError> {
1836 let (_, desc, _, _) = query::plan_copy_from(scx, table_name, columns)?;
1837 Ok(StatementDesc::new(Some(desc)))
1838}
1839
1840pub fn describe_copy_item(
1841 scx: &StatementContext,

Callers 1

describe_copyFunction · 0.85

Calls 1

plan_copy_fromFunction · 0.70

Tested by

no test coverage detected