-
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
disable fetch & go missing yield clause #3056
Conversation
3e4407a
to
0dc3626
Compare
subjob of #3135 |
0dc3626
to
ba33cd3
Compare
3e67a3f
to
5ef7c2f
Compare
Codecov Report
@@ Coverage Diff @@
## master #3056 +/- ##
==========================================
+ Coverage 85.17% 85.23% +0.05%
==========================================
Files 1294 1295 +1
Lines 118261 118191 -70
==========================================
+ Hits 100733 100740 +7
+ Misses 17528 17451 -77
Continue to review full report at Codecov.
|
Good job! Agree with removing the default return column. But shall we give default result without |
According to the offline discussion, must add the 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.
LGTM
Agree too! |
these cases already exists in unit tests |
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
@@ -306,7 +307,7 @@ Feature: Go Sentence | |||
| EMPTY | "Russell Westbrook" | | |||
When executing query: | |||
""" | |||
GO FROM "Russell Westbrook" OVER * REVERSELY | |||
GO FROM "Russell Westbrook" OVER * REVERSELY YIELD like._dst, serve._dst, teammate._dst |
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.
This is not user-friendly.
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.
+1
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.
If so, why not disable over *
?
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.
Alternative syntax: go from "A" over * YIELD dst(edge)
1、 Must add YIELD clause in the FETCH vertex、FETCH edge & GO sentence
2、Remove the default output columns 【src, dst, rank】in fetch edge
3、Remove the default output column 【VertexID】in fetch vertex