MCPcopy Create free account
hub / github.com/apache/paimon-rust / alter_table

Method alter_table

crates/integrations/datafusion/src/sql_context.rs:2435–2447  ·  view source on GitHub ↗
(
            &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 {

Callers 1

handle_alter_tableMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected