-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support list comprehension in YIELD for list of edges #4276
Labels
type/feature req
Type: feature request
Comments
wey-gu
changed the title
Support list comprehension in YIELD
Support list comprehension in YIELD for list of edges
May 23, 2022
This seems to be related to #4498 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: