Skip to content

Commit

Permalink
Fix shortest path test
Browse files Browse the repository at this point in the history
  • Loading branch information
Dtenwolde committed Dec 11, 2023
1 parent 2be3d79 commit 95afcf0
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions test/sql/path-finding/shortest_path.test
Original file line number Diff line number Diff line change
Expand Up @@ -59,24 +59,25 @@ query IIII
MATCH
p = ANY SHORTEST (a:Person)-[k:knows]->{1,3}(b:Person)
COLUMNS (path_length(p), p, a.name as name, b.name as b_name)
) study;
) study
order by study.name, study.b_name;
----
1 [0, 0, 1] Daniel Tavneet
1 [0, 1, 2] Daniel Gabor
1 [0, 2, 3] Daniel Peter
2 [1, 5, 3, 3, 0] Tavneet Daniel
1 [1, 4, 2] Tavneet Gabor
1 [1, 5, 3] Tavneet Peter
1 [0, 0, 1] Daniel Tavneet
2 [4, 7, 3, 3, 0] David Daniel
3 [4, 7, 3, 3, 0, 1, 2] David Gabor
1 [4, 7, 3] David Peter
3 [4, 7, 3, 3, 0, 0, 1] David Tavneet
2 [2, 6, 3, 3, 0] Gabor Daniel
3 [2, 6, 3, 3, 0, 0, 1] Gabor Tavneet
1 [2, 6, 3] Gabor Peter
3 [2, 6, 3, 3, 0, 0, 1] Gabor Tavneet
1 [3, 3, 0] Peter Daniel
2 [3, 3, 0, 0, 1] Peter Tavneet
2 [3, 3, 0, 1, 2] Peter Gabor
2 [4, 7, 3, 3, 0] David Daniel
3 [4, 7, 3, 3, 0, 0, 1] David Tavneet
3 [4, 7, 3, 3, 0, 1, 2] David Gabor
1 [4, 7, 3] David Peter
2 [3, 3, 0, 0, 1] Peter Tavneet
2 [1, 5, 3, 3, 0] Tavneet Daniel
1 [1, 4, 2] Tavneet Gabor
1 [1, 5, 3] Tavneet Peter


statement error
Expand Down

0 comments on commit 95afcf0

Please sign in to comment.