Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiayu Liu committed May 21, 2021
1 parent bb57c76 commit 2af2a27
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 @@ -805,11 +805,9 @@ async fn csv_query_window_with_empty_over() -> Result<()> {
// FIXME: so far the WindowAggExec is not implemented
// and the current behavior is to throw not implemented exception

let plan = ctx.create_logical_plan(&sql)?;
let plan = ctx.optimize(&plan)?;
let plan = ctx.create_physical_plan(&plan)?;
let result = collect(plan).await;
assert!(result.is_err());
let result = execute(&mut ctx, sql).await;
let expected: Vec<Vec<String>> = vec![];
assert_eq!(result, expected);
Ok(())
}

Expand Down

0 comments on commit 2af2a27

Please sign in to comment.