-
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.
Implement the multi query parts of openCypher (#3519)
* Validate multi patterns and alternative of match with unwind. * Impl the planner part. * Add BiCartesianProduct, BiInnerJoin, BiLeftJoin. * Todo argument support. * Fix the join logic and fix col names. * Impl BiCartesianProduct/BiLeftJoin/BiInnerJoin. * Fix path alias output and fix the plan connect. * Add argument node and ArgumentFinder. * Support argument. * Support exec ArgumentExecutor and do dedup in ArgumentExecutor. * Do InnerJoin or CartesianProduct on multi query parts. * Fix alias type when validate columns. * Do not track previous path if traverse/appendv is the first one. * Fix return all aliases. * Fix query part without matchs. * Fix connect query part and unwind. * Fix with test. * Fix traverse and appendvertices when track path. * Fix start from mid. * Fix test. * Use null when left join. * Add test for multi query parts. * Fix aliases not pass to next query parts. * Fix union. * Connect two path plan. * Refactor SegmentsConnector. * Add some new tests and fix executor test. * Fix test. * Fix format. * Fix build. * Fix moveRow in Traverse and AppendVertices. * Fix connect query part. * Fix error msg. * Forbid redefined alias in a single path pattern.
- Loading branch information
Showing
65 changed files
with
1,544 additions
and
807 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
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
Oops, something went wrong.