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

Method parse_explain_pushdown

src/sql-parser/src/parser.rs:9155–9163  ·  view source on GitHub ↗

Parse an `EXPLAIN FILTER PUSHDOWN` statement, assuming that the `EXPLAIN PUSHDOWN` tokens have already been consumed.

(&mut self)

Source from the content-addressed store, hash-verified

9153 /// Parse an `EXPLAIN FILTER PUSHDOWN` statement, assuming that the `EXPLAIN
9154 /// PUSHDOWN` tokens have already been consumed.
9155 fn parse_explain_pushdown(&mut self) -> Result<Statement<Raw>, ParserError> {
9156 self.expect_keyword(FOR)?;
9157
9158 let explainee = self.parse_explainee()?;
9159
9160 Ok(Statement::ExplainPushdown(ExplainPushdownStatement {
9161 explainee,
9162 }))
9163 }
9164
9165 fn parse_explain_analyze(&mut self) -> Result<Statement<Raw>, ParserError> {
9166 // EXPLAIN ANALYZE CLUSTER (MEMORY | CPU) [WITH SKEW] [AS SQL]

Callers 1

parse_explainMethod · 0.80

Calls 2

expect_keywordMethod · 0.80
parse_explaineeMethod · 0.80

Tested by

no test coverage detected