-
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
format fetchedges #2779
format fetchedges #2779
Conversation
517b838
to
1b95198
Compare
subjob of #2594 |
41d6a91
to
a617d84
Compare
ef94fd8
to
7f5a074
Compare
c360665
to
e2d5779
Compare
Codecov Report
@@ Coverage Diff @@
## master #2779 +/- ##
==========================================
- Coverage 85.47% 84.48% -1.00%
==========================================
Files 1229 1252 +23
Lines 110375 111705 +1330
==========================================
+ Hits 94341 94370 +29
- Misses 16034 17335 +1301
Continue to review full report at Codecov.
|
b27971c
to
619005b
Compare
* attached with Common Clause Condition 1.0, found in the LICENSES directory. | ||
*/ | ||
|
||
#ifndef GRAPH_PLANNER_NGQL_FETCH_EDGES_H_ |
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.
pragma once
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.
In my opinion, the effect is the same
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.
It's the new code style according to the doc.
@@ -1,4 +1,4 @@ | |||
/* Copyright (c) 2020 vesoft inc. All rights reserved. | |||
/* Copyright (c) 2021 vesoft inc. All rights reserved. |
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.
Don't modify this
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.
ignore it
@@ -21,10 +21,10 @@ class FetchEdgesValidatorTest : public ValidatorTestBase { | |||
}; | |||
|
|||
TEST_F(FetchEdgesValidatorTest, FetchEdgesProp) { | |||
auto src = VariablePropertyExpression::make(pool_.get(), "_VAR1_", kSrc); | |||
auto src = ColumnExpression::make(pool_.get(), 0); |
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.
Why change to ColumnExpression?
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.
Because the column names of the first three columns in the dataset are fixed, we can use columnExpresion instead of VariableProperyExpression
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, but don't modify the unrelated behavior
1、refactor fetch edges
2、support FETCH PROP ON edgeName "A"->"B" YIELD edge AS e, src(edge), dst(edge), rank(edge), type(edge)