Skip to content

Commit 1b9442b

Browse files
author
Jiayu Liu
committed
fix error
1 parent a02ae7d commit 1b9442b

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

datafusion/tests/sql.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -802,12 +802,10 @@ async fn csv_query_window_with_empty_over() -> Result<()> {
802802
let mut ctx = ExecutionContext::new();
803803
register_aggregate_csv(&mut ctx)?;
804804
let sql = "SELECT count(c12) over () FROM aggregate_test_100";
805-
let actual = execute(&mut ctx, sql).await;
806805
// FIXME: so far the WindowAggExec is not implemented
807-
// and the current behavior is to return empty result
808-
// when it is done this test shall be updated
809-
let expected: Vec<Vec<String>> = vec![];
810-
assert_eq!(expected, actual);
806+
// and the current behavior is to throw not implemented exception
807+
let plan = ctx.create_logical_plan(&sql);
808+
assert!(plan.is_err());
811809
Ok(())
812810
}
813811

0 commit comments

Comments
 (0)