Shortest path query returns paths with repeated nodes. #5426
Labels
area/querylang/algos
Related to graph algorithms, such as k-shortest path.
status/accepted
We accept to investigate/work on it.
What version of Dgraph are you using?
Dgraph version : v2.0.0-rc1-307-gf9d850994
Dgraph SHA-256 : b28d687729c9a1ec7642ea1797d800140c374f82c0ebab4f4e5e576f3676a374
Commit SHA-1 : f9d8509
Commit timestamp : 2020-05-11 05:19:53 +0530
Branch : master
Go version : go1.14
Have you tried reproducing the issue with the latest release?
Yes
What is the hardware spec (RAM, OS)?
CPU: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
RAM: 16GB
OS: Ubuntu 18.04.4 LTS
Steps to reproduce the issue (command/config used to run Dgraph).
Mutation:
Query:
Expected behaviour and actual result.
IMO expected behavior should be to return only two paths.
1-31-1000-1002
and1-31-1000-1001-1002
.Actual result:
1-31-1000-1002
,1-31-1000-1001-1002
and1-31-1000-1002-1003-1001-1002
.The text was updated successfully, but these errors were encountered: