-
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 the bidirection edges. #3507
Changes from 2 commits
87e291a
6c11966
65ca210
724ae93
102a9c9
43c0a20
55f3c47
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -155,3 +155,17 @@ Feature: Match seek by scan | |
LIMIT 3 | ||
""" | ||
Then a ExecutionError should be raised at runtime: Scan vertices must specify limit number. | ||
When executing query: | ||
""" | ||
MATCH ()-[e:is_teacher]-() | ||
RETURN type(e) AS Type, e.start_year AS StartYear, e.end_year AS EndYear | ||
LIMIT 3 | ||
""" | ||
Then a ExecutionError should be raised at runtime: Scan vertices must specify limit number. | ||
When executing query: | ||
""" | ||
MATCH ()-[e]-() | ||
RETURN type(e) AS Type, e.start_year AS StartYear, e.end_year AS EndYear | ||
LIMIT 3 | ||
""" | ||
Then a ExecutionError should be raised at runtime: Scan vertices must specify limit number. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's confused to throw the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This plan start from ScanVertices, and transformed to ScanEdges in optimizer, but in this case transform failed, so result in ScanVertices failed. |
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.
The error msg really confuses me. What's the correct way to write this sentence?
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.
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 allow the bidirection.