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

Function parse

src/environmentd/src/http/sql.rs:1296–1304  ·  view source on GitHub ↗
(
        client: &SessionClient,
        query: &'a str,
    )

Source from the content-addressed store, hash-verified

1294 }
1295
1296 fn parse<'a>(
1297 client: &SessionClient,
1298 query: &'a str,
1299 ) -> Result<Vec<StatementParseResult<'a>>, Error> {
1300 let result = client
1301 .parse(query)
1302 .map_err(|e| Error::Unstructured(anyhow!(e)))?;
1303 result.map_err(|e| AdapterError::from(e).into())
1304 }
1305
1306 let mut stmt_groups = vec![];
1307

Callers 15

execute_requestFunction · 0.70
validate_readonly_queryFunction · 0.70
validate_issuer_urlFunction · 0.70
parse_timezoneFunction · 0.50
parse_catalog_idFunction · 0.50
parse_catalog_privilegesFunction · 0.50
parse_catalog_create_sqlFunction · 0.50
serveMethod · 0.50
get_ld_valueFunction · 0.50
test_http_sqlFunction · 0.50

Calls 1

parseMethod · 0.45