-
Notifications
You must be signed in to change notification settings - Fork 1.2k
subgraph filter #4357
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
Merged
Sophie-Xie
merged 13 commits into
vesoft-inc:master
from
nevermore3:subgraph_vertices_filter
Oct 1, 2022
Merged
subgraph filter #4357
Sophie-Xie
merged 13 commits into
vesoft-inc:master
from
nevermore3:subgraph_vertices_filter
Oct 1, 2022
+596
−143
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b6d82a0
to
769699b
Compare
114708a
to
3d6a2ee
Compare
3d6a2ee
to
3e838d2
Compare
d4f2524
to
beed8aa
Compare
waiting #4649 fix |
b7020aa
to
64b0d5c
Compare
11 tasks
3b117e0
to
5c84849
Compare
7de0249
to
54b4043
Compare
dutor
approved these changes
Sep 30, 2022
Shylock-Hg
approved these changes
Sep 30, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
doc affected
PR: improvements or additions to documentation
ready for review
ready-for-testing
PR: ready for the CI test
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
What problem(s) does this PR solve?
Issue(s) number:
Description:
support vertex filter & edge filter in subgraph sentence
1、subgraph operator consists of the getNeighbors operator, which loops the user-specified number of times inside the subgraph operator.
2、where clause does not support logicalOR expressions, bcz
$^.player.age > 30 OR like.likeness > 80
can't filter data only by $^.player.age3、for the VID that does not satisfy the tagfilter condition, the filterEdge function will filter the edge where dst is VID in the previous step
How do you solve it?
Special notes for your reviewer, ex. impact of this fix, design document, etc:
Checklist:
Tests:
Affects:
Release notes:
Please confirm whether to be reflected in release notes and how to describe: