(catalog: Arc<MockCatalog>)
| 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, |