-
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 find path #2957
format find path #2957
Conversation
subjob of #2594 |
d84c289
to
13c8897
Compare
13c8897
to
1fd361c
Compare
e0233df
to
76c054e
Compare
0da7322
to
e47bad0
Compare
e47bad0
to
60e34cd
Compare
60e34cd
to
ef2c8a0
Compare
ef2c8a0
to
0aea981
Compare
0aea981
to
543dd54
Compare
Codecov Report
@@ Coverage Diff @@
## master #2957 +/- ##
==========================================
- Coverage 85.24% 85.22% -0.02%
==========================================
Files 1289 1289
Lines 120035 120077 +42
==========================================
+ Hits 102322 102337 +15
- Misses 17713 17740 +27
Continue to review full report at Codecov.
|
subjob of #3135 |
07e7aa6
to
66be3b0
Compare
return Status::SemanticError("Missing yield clause."); | ||
} | ||
if (yield->columns().size() != 1) { | ||
return Status::SemanticError("Only support yield path"); |
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.
`YIELD path
`
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.
lower case is also ok
@@ -278,3 +278,60 @@ Feature: Integer Vid All Path | |||
| <("Tim Duncan" :bachelor{name: "Tim Duncan", speciality: "psychology"} :player{age: 42, name: "Tim Duncan"})-[:like@0 {likeness: 95}]->("Manu Ginobili" :player{age: 41, name: "Manu Ginobili"})<-[:like@0 {likeness: 95}]-("Tony Parker" :player{age: 36, name: "Tony Parker"})> | | |||
| <("Tim Duncan" :bachelor{name: "Tim Duncan", speciality: "psychology"} :player{age: 42, name: "Tim Duncan"})<-[:like@0 {likeness: 80}]-("Boris Diaw" :player{age: 36, name: "Boris Diaw"})-[:like@0 {likeness: 80}]->("Tony Parker" :player{age: 36, name: "Tony Parker"})> | | |||
Then drop the used space | |||
|
|||
Scenario: Integer Vid ALL PATH YIELD PATH |
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.
Add some cases to test invalid yield clause.
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.
alread exists in unit test
66be3b0
to
29fd53f
Compare
f2bf640
to
e9f9830
Compare
e9f9830
to
ab1d56e
Compare
must add YIELD path in findpath sentence
incompatible
KW_PATH changed from non-keyword to keyword, so disallow users to define path as a variable .
some test case :
find path from a to b over like |order by $-.path or. match path = (a)-[]->(b) return path. are not allowed