Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xtcyclist committed Jan 4, 2023
1 parent fece15c commit 3aa82e3
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions tests/tck/features/match/Path.feature
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,31 @@ Feature: Matching paths
| count(*) |
| 3 |

Scenario: single vertex
When executing query:
"""
match p = (v)
where id(v) == 1
return count(*)
"""
Then the result should be, in any order:
| count(*) |
| 1 |
When executing query:
"""
match p = (v:Label_3)
return count(p)
"""
Then the result should be, in any order:
| count(p) |
| 59 |
When executing query:
"""
match p = (v:Label_0)
return count(p)
"""
Then a ExecutionError should be raised at runtime: Scan vertices or edges need to specify a limit number, or limit number can not push down.

@skip #bug to fix: https://github.com/vesoft-inc/nebula/issues/5185
Scenario: conflicting type
When executing query:
Expand Down

0 comments on commit 3aa82e3

Please sign in to comment.