Skip to content

Commit

Permalink
fix ci test error
Browse files Browse the repository at this point in the history
  • Loading branch information
nevermore3 committed Dec 31, 2021
1 parent 5184725 commit 5c8bb56
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/tck/features/aggregate/Agg.feature
Original file line number Diff line number Diff line change
Expand Up @@ -767,30 +767,30 @@ Feature: Basic Aggregate and GroupBy
YIELD $$.team.name AS name,
COUNT(serve._dst) AS id
"""
Then a SyntaxError should be raised at runtime: Invalid use of aggregating function in yield clause. near `COUNT(serve._dst) AS id'
Then a SyntaxError should be raised at runtime: Invalid use of aggregating function in yield clause. near `$$.team.name AS name, COUNT(serve._dst) AS id'
When executing query:
"""
MATCH (v:player)
WHERE avg(v.player.age) > 1
RETURN v.player.age
"""
Then a SyntaxError should be raised at runtime: Invalid use of aggregating function in this context. near `WHERE avg(v.player.age) > 1'
Then a SyntaxError should be raised at runtime: Invalid use of aggregating function in where clause. near `avg(v.player.age) > 1'
When executing query:
"""
MATCH (v:player)
WITH v
WHERE avg(v.player.age) > 1
RETURN v.player.age
"""
Then a SyntaxError should be raised at runtime: Invalid use of aggregating function in this context. near `WHERE avg(v.player.age) > 1'
Then a SyntaxError should be raised at runtime: Invalid use of aggregating function in where clause. near `avg(v.player.age) > 1'
When executing query:
"""
MATCH (v:player)
WITH DISTINCT v
WHERE avg(v.player.age) > 1
RETURN v.player.age
"""
Then a SyntaxError should be raised at runtime: Invalid use of aggregating function in this context. near `WHERE avg(v.player.age) > 1'
Then a SyntaxError should be raised at runtime: Invalid use of aggregating function in where clause. near `avg(v.player.age) > 1'
# When executing query:
# """
Expand Down

0 comments on commit 5c8bb56

Please sign in to comment.