(&mut self, schema: &Schema)
| 588 | #[async_trait] |
| 589 | impl StoreMut for CompositeStorage { |
| 590 | async fn insert_schema(&mut self, schema: &Schema) -> Result<()> { |
| 591 | if self.is_virtual_table(&schema.table_name) { |
| 592 | Err(GlueError::StorageMsg( |
| 593 | "Cannot create schema for virtual table".to_string(), |
| 594 | )) |
| 595 | } else { |
| 596 | self.json_storage.insert_schema(schema).await |
| 597 | } |
| 598 | } |
| 599 | |
| 600 | async fn delete_schema(&mut self, table_name: &str) -> Result<()> { |
| 601 | if self.is_virtual_table(table_name) { |
nothing calls this directly
no test coverage detected