forked from vesoft-inc/nebula
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the dependency of argument plan node (vesoft-inc#4939)
* Fix the dependency of argument plan node * Add test features * make ps * Rename feature and scenario * Fix tck tests Co-authored-by: Sophie <[email protected]>
- Loading branch information
1 parent
611c670
commit 852512b
Showing
6 changed files
with
54 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Feature: Fix Argument plan node dependency | ||
|
||
Background: | ||
Given a graph with space named "nba" | ||
|
||
Scenario: fix argument plan node dependency in issue 4938 | ||
When profiling query: | ||
""" | ||
MATCH (a:player) | ||
WHERE id(a)=='Tim Duncan' | ||
MATCH (a)-[:like]-(b) | ||
RETURN count(*) AS cnt | ||
""" | ||
Then the result should be, in any order: | ||
| cnt | | ||
| 12 | | ||
And the execution plan should be: | ||
| id | name | dependencies | operator info | | ||
| 11 | Aggregate | 10 | | | ||
| 10 | BiInnerJoin | 9,4 | | | ||
| 9 | Project | 8 | | | ||
| 8 | AppendVertices | 7 | | | ||
| 7 | Dedup | 6 | | | ||
| 6 | PassThrough | 5 | | | ||
| 5 | Start | | | | ||
| 4 | Project | 3 | | | ||
| 3 | AppendVertices | 2 | | | ||
| 2 | Traverse | 1 | | | ||
| 1 | Argument | 0 | | | ||
| 0 | Start | | | |
Oops, something went wrong.