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

Function describe_copy_item

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

Source from the content-addressed store, hash-verified

1838}
1839
1840pub fn describe_copy_item(
1841 scx: &StatementContext,
1842 object_name: <Aug as AstInfo>::ItemName,
1843 columns: Vec<Ident>,
1844) -> Result<StatementDesc, PlanError> {
1845 let (_, desc, _, _) = query::plan_copy_item(scx, object_name, columns)?;
1846 Ok(StatementDesc::new(Some(desc)))
1847}
1848
1849pub fn describe_copy(
1850 scx: &StatementContext,

Callers 1

describe_copyFunction · 0.85

Calls 1

plan_copy_itemFunction · 0.85

Tested by

no test coverage detected