You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
in Nebula, we have this pitfall: the edge variable in multiple hops is a list, and the expression of e.propName cannot be parsed, instead, e[0].propName should be used.
Thus we cannot do this:
MATCH p=(v:player{name:"Tim Duncan"})-[e:follow*1..3]->(v2) WHERE ALL(e_ in e WHERE e_.degree > 0) return e.degree
And the mitigation, for now, could be to unwind it first, which isn't straightforward for users:
MATCH p=(v:player{name:"Tim Duncan"})-[e:follow*1..3]->(v2) WHERE ALL(e_ in e WHERE e_.degree > 0) with e as eList unwind eList as e return e.degree
Describe the solution you'd like
enable something like
MATCH p=(v:player{name:"Tim Duncan"})-[e:follow*1..3]->(v2) WHERE ALL(e_ in e WHERE e_.degree > 0) return [e_.degree for e_ in e]
Describe alternatives you've considered
Or possibly parse e.degree as [e_.degree for e_ in e]?
Additional context
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
in Nebula, we have this pitfall: the edge variable in multiple hops is a list, and the expression of
e.propName
cannot be parsed, instead, e[0].propName should be used.Thus we cannot do this:
And the mitigation, for now, could be to unwind it first, which isn't straightforward for users:
Describe the solution you'd like
enable something like
Describe alternatives you've considered
Or possibly parse
e.degree
as[e_.degree for e_ in e]
?Additional context
The text was updated successfully, but these errors were encountered: