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

Function make_sql_context

crates/integrations/datafusion/src/sql_context.rs:2450–2454  ·  view source on GitHub ↗
(catalog: Arc<MockCatalog>)

Source from the content-addressed store, hash-verified

2448 }
2449
2450 async fn make_sql_context(catalog: Arc<MockCatalog>) -> SQLContext {
2451 let mut ctx = SQLContext::new();
2452 ctx.register_catalog("paimon", catalog).await.unwrap();
2453 ctx
2454 }
2455
2456 fn assert_sql_type_to_paimon(
2457 sql_type: datafusion::sql::sqlparser::ast::DataType,

Calls 1

register_catalogMethod · 0.45