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

Method resolve_active_schema

src/sql/src/plan/statement.rs:729–734  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

727 }
728
729 pub fn resolve_active_schema(&self) -> Result<&SchemaSpecifier, PlanError> {
730 match self.current_schema() {
731 Some((_db, schema)) => Ok(schema),
732 None => Err(PlanError::InvalidSchemaName),
733 }
734 }
735
736 pub fn get_cluster(&self, id: &ClusterId) -> &dyn CatalogCluster<'_> {
737 self.catalog.get_cluster(*id)

Callers 4

show_subsourcesFunction · 0.80
show_sinksFunction · 0.80
show_indexesFunction · 0.80

Calls 1

current_schemaMethod · 0.80

Tested by

no test coverage detected