-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix IndexScan with label containing parameters (#5944)
* fix IndexScan with label containing parameters * chore: improve formatting in VariableExpression.h * Enable the TCK tests that were previously skipped due to bugs.
- Loading branch information
Showing
5 changed files
with
28 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Feature: Test excute index scan with label which contains parameters | ||
|
||
Background: | ||
Given an empty graph | ||
And load "nba" csv data to a new space | ||
Given parameters: {"p1":"Tim Duncan"} | ||
|
||
Scenario: execute index scan with label which contains parameters | ||
When profiling query: | ||
""" | ||
MATCH (v:player{name:$p1}) RETURN v.player.age | ||
""" | ||
Then the result should be, in any order: | ||
| v.player.age | | ||
| 42 | | ||
Then the execution plan should be: | ||
| id | name | dependencies | operator info | | ||
| 4 | Project | 3 | | | ||
| 3 | AppendVertices | 2 | | | ||
| 2 | IndexScan | 1 | {"indexCtx": {"columnHints":{"scanType":"PREFIX"}}} | | ||
| 1 | Start | | | |
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