-
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 delete vertex without edge #3316
Support delete vertex without edge #3316
Conversation
Why #3123 need this? |
It is part of the |
Codecov Report
@@ Coverage Diff @@
## master #3316 +/- ##
=======================================
Coverage 85.23% 85.24%
=======================================
Files 1289 1288 -1
Lines 119974 119889 -85
=======================================
- Hits 102265 102201 -64
+ Misses 17709 17688 -21
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
if (withEdge_) { | ||
std::vector<storage::cpp2::EdgeProp> edgeProps; | ||
// make edgeRefs and edgeProp | ||
auto index = 0u; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could iterates both edgeTypes_ and edgeNames_ instead of using the index.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not modify these codes, and just move them into an if statement.
What type of PR is this?
What does this PR do?
support delete vertex without edge
Which issue(s)/PR(s) this PR relates to?
Special notes for your reviewer, ex. impact of this fix, etc:
Additional context:
Checklist:
Release notes:
Please confirm whether to reflect in release notes and how to describe: