Closed wey-gu closed 2 years ago
context slack thread by renman
https://nebulagraph.slack.com/archives/CSHN72Z6X/p1632467880001300
This is because of the hanging edges. And the Match / Go have different semantics. You will be more clear by trying this case:
GO FROM "p1001" OVER e_tag YIELD E_TAG._dst, $$.v_tag.name AS name, $$.v_tag.ts AS ts
This is not an easy handled issue.
Fixed in #3535
reproduce:
Fri, 24 Sep 2021 15:53:29 CST
(root@nebula) [basketballplayer]> MATCH (p:v_post)-[e:e_tag]->(t:v_tag) WHERE id(p) == "p1001" return t.name AS name, t.ts AS ts +---------+------------+ | name | ts | +---------+------------+ | "test1" | 1632469961 | +---------+------------+ | "test2" | 1632469962 | +---------+------------+ Got 2 rows (time spent 56766/90173 us)
Fri, 24 Sep 2021 15:53:30 CST
(root@nebula) [basketballplayer]> MATCH (p:v_post)-[e:e_tag]->(t:v_tag) WHERE id(p) == "p1001" return t.name AS name, t.ts AS ts +------+----+ | name | ts | +------+----+ +------+----+ Empty set (time spent 71241/104775 us)
Fri, 24 Sep 2021 15:55:36 CST
+------+----+ | | | +------+----+ Got 2 rows (time spent 30674/62919 us) #<---------------------
Fri, 24 Sep 2021 15:55:38 CST