Skip to content

Commit 9db2e5f

Browse files
committed
avoid unwrap in test_aggregation_with_bad_arguments
1 parent 80701f9 commit 9db2e5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎datafusion/tests/sql.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3443,7 +3443,7 @@ async fn test_aggregation_with_bad_arguments() -> Result<()> {
34433443
let mut ctx = ExecutionContext::new();
34443444
register_aggregate_csv(&mut ctx)?;
34453445
let sql = "SELECT COUNT(DISTINCT) FROM aggregate_test_100";
3446-
let logical_plan = ctx.create_logical_plan(&sql).unwrap();
3446+
let logical_plan = ctx.create_logical_plan(&sql)?;
34473447
let physical_plan = ctx.create_physical_plan(&logical_plan);
34483448
assert!(physical_plan.is_err());
34493449
Ok(())

0 commit comments

Comments
 (0)