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

Function describe_execute

src/sql/src/plan/statement/scl.rs:301–311  ·  view source on GitHub ↗
(
    scx: &StatementContext,
    stmt: ExecuteStatement<Aug>,
)

Source from the content-addressed store, hash-verified

299}
300
301pub fn describe_execute(
302 scx: &StatementContext,
303 stmt: ExecuteStatement<Aug>,
304) -> Result<StatementDesc, PlanError> {
305 // The evaluation of the statement doesn't happen until it gets to coord. That
306 // means if the statement is now invalid due to an object having been dropped,
307 // describe is unable to notice that. This is currently an existing problem
308 // with prepared statements over pgwire as well, so we can leave this for now.
309 // See database-issues#2563.
310 Ok(plan_execute_desc(scx, stmt)?.0.clone())
311}
312
313pub fn plan_execute(
314 scx: &StatementContext,

Callers 1

describeFunction · 0.85

Calls 2

plan_execute_descFunction · 0.85
cloneMethod · 0.45

Tested by

no test coverage detected