(&self)
| 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) |
no test coverage detected