Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiayu Liu committed May 21, 2021
1 parent 880b94f commit bc2271d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions datafusion/tests/sql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -802,12 +802,10 @@ async fn csv_query_window_with_empty_over() -> Result<()> {
let mut ctx = ExecutionContext::new();
register_aggregate_csv(&mut ctx)?;
let sql = "SELECT count(c12) over () FROM aggregate_test_100";
let actual = execute(&mut ctx, sql).await;
// FIXME: so far the WindowAggExec is not implemented
// and the current behavior is to return empty result
// when it is done this test shall be updated
let expected: Vec<Vec<String>> = vec![];
assert_eq!(expected, actual);
// and the current behavior is to throw not implemented exception
let plan = ctx.create_logical_plan(&sql);
assert!(plan.is_err());
Ok(())
}

Expand Down

0 comments on commit bc2271d

Please sign in to comment.