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

Function create_catalog

crates/integrations/datafusion/tests/read_tables.rs:35–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33}
34
35fn create_catalog() -> FileSystemCatalog {
36 let warehouse = get_test_warehouse();
37 let mut options = Options::new();
38 options.set(CatalogOptions::WAREHOUSE, warehouse);
39 FileSystemCatalog::new(options).expect("Failed to create catalog")
40}
41
42async fn create_context() -> SQLContext {
43 let catalog = create_catalog();

Callers 6

create_contextFunction · 0.70
create_providerFunction · 0.70

Calls 2

setMethod · 0.80
get_test_warehouseFunction · 0.70

Tested by

no test coverage detected