Skip to content

Commit

Permalink
Fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
kasiafi authored and martint committed Jan 26, 2021
1 parent 693f71b commit e548a4e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -651,7 +651,7 @@ public void testNonAggregate()
.hasErrorCode(EXPRESSION_NOT_AGGREGATE);
assertFails("SELECT count(*) over (ORDER BY count(*) ROWS BETWEEN b PRECEDING AND a PRECEDING) FROM t1 GROUP BY b")
.hasErrorCode(EXPRESSION_NOT_AGGREGATE);
assertFails("SELECT count(*) over (ORDER BY count(*) ROWS BETWEEN a PRECEDING AND UNBOUNDED PRECEDING) FROM t1 GROUP BY b")
assertFails("SELECT count(*) over (ORDER BY count(*) ROWS BETWEEN a PRECEDING AND UNBOUNDED FOLLOWING) FROM t1 GROUP BY b")
.hasErrorCode(EXPRESSION_NOT_AGGREGATE);
}

Expand Down

0 comments on commit e548a4e

Please sign in to comment.