Skip to content

Commit 1ecae8f

Browse files
author
Jiayu Liu
committed
fix unit test
1 parent bc2271d commit 1ecae8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

datafusion/tests/sql.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -804,8 +804,8 @@ async fn csv_query_window_with_empty_over() -> Result<()> {
804804
let sql = "SELECT count(c12) over () FROM aggregate_test_100";
805805
// FIXME: so far the WindowAggExec is not implemented
806806
// and the current behavior is to throw not implemented exception
807-
let plan = ctx.create_logical_plan(&sql);
808-
assert!(plan.is_err());
807+
let result = execute(&mut ctx, sql);
808+
assert!(result.is_err());
809809
Ok(())
810810
}
811811

0 commit comments

Comments
 (0)