()
| 6312 | |
| 6313 | #[tokio::test] |
| 6314 | async fn register_non_json_file() { |
| 6315 | let ctx = SessionContext::new(); |
| 6316 | let err = ctx |
| 6317 | .register_json( |
| 6318 | "data", |
| 6319 | "tests/data/test_binary.parquet", |
| 6320 | JsonReadOptions::default(), |
| 6321 | ) |
| 6322 | .await; |
| 6323 | assert_contains!( |
| 6324 | err.unwrap_err().to_string(), |
| 6325 | "test_binary.parquet' does not match the expected extension '.json'" |
| 6326 | ); |
| 6327 | } |
| 6328 | |
| 6329 | #[tokio::test] |
| 6330 | async fn register_non_csv_file() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…