Method
alter_table
(
&self,
identifier: &Identifier,
changes: Vec<SchemaChange>,
ignore_if_not_exists: bool,
)
Source from the content-addressed store, hash-verified
| 2433 | Ok(()) |
| 2434 | } |
| 2435 | async fn alter_table( |
| 2436 | &self, |
| 2437 | identifier: &Identifier, |
| 2438 | changes: Vec<SchemaChange>, |
| 2439 | ignore_if_not_exists: bool, |
| 2440 | ) -> paimon::Result<()> { |
| 2441 | self.calls.lock().unwrap().push(CatalogCall::AlterTable { |
| 2442 | identifier: identifier.clone(), |
| 2443 | changes, |
| 2444 | ignore_if_not_exists, |
| 2445 | }); |
| 2446 | Ok(()) |
| 2447 | } |
| 2448 | } |
| 2449 | |
| 2450 | async fn make_sql_context(catalog: Arc<MockCatalog>) -> SQLContext { |
Tested by
no test coverage detected