We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56d8424 commit 3ca6aaaCopy full SHA for 3ca6aaa
datafusion-cli/src/exec.rs
@@ -349,15 +349,7 @@ mod tests {
349
// Ensure that local files are also registered
350
let sql =
351
format!("CREATE EXTERNAL TABLE test STORED AS PARQUET LOCATION '{location}'");
352
- let err = create_external_table_test(location, &sql)
353
- .await
354
- .unwrap_err();
355
-
356
- if let DataFusionError::IoError(e) = err {
357
- assert_eq!(e.kind(), std::io::ErrorKind::NotFound);
358
- } else {
359
- return Err(err);
360
- }
+ create_external_table_test(location, &sql).await.unwrap();
361
362
Ok(())
363
}
0 commit comments