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

Function create_catalog

crates/integrations/datafusion/src/table/mod.rs:279–284  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

277 }
278
279 fn create_catalog() -> FileSystemCatalog {
280 let warehouse = get_test_warehouse();
281 let mut options = Options::new();
282 options.set(CatalogOptions::WAREHOUSE, warehouse);
283 FileSystemCatalog::new(options).expect("Failed to create catalog")
284 }
285
286 async fn create_provider(table_name: &str) -> PaimonTableProvider {
287 let catalog = create_catalog();

Callers 1

create_providerFunction · 0.70

Calls 2

setMethod · 0.80
get_test_warehouseFunction · 0.70

Tested by

no test coverage detected