(&mut self, table_name: &str, index_name: &str)
| 684 | } |
| 685 | |
| 686 | async fn drop_index(&mut self, table_name: &str, index_name: &str) -> Result<()> { |
| 687 | if self.is_virtual_table(table_name) { |
| 688 | Err(GlueError::StorageMsg( |
| 689 | "Cannot drop index on virtual table".to_string(), |
| 690 | )) |
| 691 | } else { |
| 692 | self.json_storage.drop_index(table_name, index_name).await |
| 693 | } |
| 694 | } |
| 695 | } |
| 696 | |
| 697 | // Implement AlterTable (delegate to JsonStorage) |
nothing calls this directly
no test coverage detected