-
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
does nebula support outputting the attributes of a specified tag of a vertex? #5329
Comments
Bug:
Expected:
|
wrokaround: you can use the follow manner: MATCH (v:default) WHERE id(v) IN ["10.2.29.88"] RETURN v; |
It's a bug from the optimizer. The requested properties have been pruned out, as the optimizer thought they were not needed. |
Yes, this should be implemented(to express all properties on the given tag in some way) when the tag is required as a nebulagraph cypher dialect, or the workaround will introduce extra scan and fetch efforts like Looking forward to the expression of |
It's already implemented. The executor supports it. It's just that the optimizer didn't expect |
You are amazing ❤. |
nebula version:2022.11.15-nightly
A simple example.I want to get all attributes with the tag name of default on vertex with the vid of 10.2.29.88.
Think according to inertia,I will write ngql statements like this
MATCH (v) WHERE id(v) IN ["10.2.29.88"] RETURN properties(v.default)
or
MATCH (v) WHERE id(v) IN ["10.2.29.88"] RETURN properties(v:default)
But the above two statements will report errors
It is said that nebula already supports the writing method of .
What I want to know is that there is something wrong with my writing method or the current version does not support
The text was updated successfully, but these errors were encountered: