(&mut self, table_name: &str, new_table_name: &str)
| 698 | #[async_trait] |
| 699 | impl AlterTable for CompositeStorage { |
| 700 | async fn rename_schema(&mut self, table_name: &str, new_table_name: &str) -> Result<()> { |
| 701 | if self.is_virtual_table(table_name) || self.is_virtual_table(new_table_name) { |
| 702 | Err(GlueError::StorageMsg( |
| 703 | "Cannot rename virtual table".to_string(), |
| 704 | )) |
| 705 | } else { |
| 706 | self.json_storage |
| 707 | .rename_schema(table_name, new_table_name) |
| 708 | .await |
| 709 | } |
| 710 | } |
| 711 | |
| 712 | async fn rename_column( |
| 713 | &mut self, |
nothing calls this directly
no test coverage detected