Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
caton-hpg committed Dec 26, 2022
1 parent 17ea7cd commit 914d027
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions tests/tck/features/yield/parameter.feature
Original file line number Diff line number Diff line change
Expand Up @@ -295,15 +295,15 @@ Feature: Parameter
| "Manu Ginobili1-8422829895182987733" |
| "Tony Parker1803925327675532371" |
# aggregate expressions
## crash and fixed later
#When executing query:
# """
# $var=go from "Tim Duncan" over like yield like._dst as id, like.likeness as likeness;
# yield avg($var.likeness)+$p1 as v;
# """
#Then the result should be, in any order:
# | v |
# | 2 |
# crash and fixed later
# When executing query:
# """
# $var=go from "Tim Duncan" over like yield like._dst as id, like.likeness as likeness;
# yield avg($var.likeness)+$p1 as v;
# """
# Then the result should be, in any order:
# | v |
# | 2 |
When executing query:
"""
go from "Tim Duncan" over like yield like._dst as id
Expand All @@ -315,7 +315,7 @@ Feature: Parameter
# expression nesting
When executing query:
"""
go from "Tim Duncan" over like yield properties($$).age as age
go from "Tim Duncan" over like yield properties($$).age as age
| yield avg(abs(hash($-.age+$p1)+$p1)) as v
"""
Then the result should be, in any order:
Expand All @@ -324,12 +324,10 @@ Feature: Parameter
# BAD_TYPE
When executing query:
"""
go from "Tim Duncan" over like yield properties($$).age as age
go from "Tim Duncan" over like yield properties($$).age as age
| yield abs($-.age+$p3) as v
"""
Then the result should be, in any order:
| v |
| BAD_TYPE |
| BAD_TYPE |

0 comments on commit 914d027

Please sign in to comment.