Skip to content
Snippets Groups Projects
Unverified Commit 70c6ca05 authored by Yichen Wang's avatar Yichen Wang Committed by GitHub
Browse files

Add test case from issue (#1050)

parent 060affc7
No related branches found
No related tags found
No related merge requests found
......@@ -919,6 +919,17 @@ Feature: Integer Vid Match By Id
| COUNT(1) |
| 927 |
Scenario: count relationship
When executing query:
"""
MATCH (v:player{name: 'Tim Duncan'})-[e]->() RETURN type(e), count(*)
"""
Then the result should be, in any order, with relax comparison:
| type(e) | count(*) |
| "serve" | 1 |
| "teammate" | 4 |
| "like" | 2 |
Scenario: the referred vertex of id fn is not the first
When executing query:
"""
......
......@@ -919,6 +919,17 @@ Feature: Match By Id
| count(1) |
| 927 |
Scenario: count relationship
When executing query:
"""
MATCH (v:player{name: 'Tim Duncan'})-[e]->() RETURN type(e), count(*)
"""
Then the result should be, in any order, with relax comparison:
| type(e) | count(*) |
| "serve" | 1 |
| "teammate" | 4 |
| "like" | 2 |
Scenario: the referred vertex of id fn is not the first
When executing query:
"""
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment