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

Function create_provider

crates/integrations/datafusion/src/table/mod.rs:286–295  ·  view source on GitHub ↗
(table_name: &str)

Source from the content-addressed store, hash-verified

284 }
285
286 async fn create_provider(table_name: &str) -> PaimonTableProvider {
287 let catalog = create_catalog();
288 let identifier = Identifier::new("default", table_name);
289 let table = catalog
290 .get_table(&identifier)
291 .await
292 .expect("Failed to get table");
293
294 PaimonTableProvider::try_new(table).expect("Failed to create table provider")
295 }
296
297 async fn plan_partitions(
298 provider: &PaimonTableProvider,

Calls 2

create_catalogFunction · 0.70
get_tableMethod · 0.45