Support match 0 to n steps (#606)
* refactor code, move appendFetchVertexPlan() to MatchSolver
* add implementation for match exactly 0 step
* add simple tests and fix typo
* add implementation for match 0..n step
* fix left node expansion
* add string vid tests
* add int vid tests
* refactor code
* remove redundant code
* add overloaded method appendFetchVertexPlan()
* add more tests
* update int vid test
* address comments, fix passThrough()
* fix conflicts
Co-authored-by:
Yee <2520865+yixinglu@users.noreply.github.com>
Showing
- src/planner/match/Expand.cpp 46 additions, 17 deletionssrc/planner/match/Expand.cpp
- src/planner/match/Expand.h 4 additions, 1 deletionsrc/planner/match/Expand.h
- src/planner/match/MatchClausePlanner.cpp 14 additions, 92 deletionssrc/planner/match/MatchClausePlanner.cpp
- src/planner/match/MatchClausePlanner.h 0 additions, 9 deletionssrc/planner/match/MatchClausePlanner.h
- src/planner/match/MatchSolver.cpp 88 additions, 0 deletionssrc/planner/match/MatchSolver.cpp
- src/planner/match/MatchSolver.h 20 additions, 0 deletionssrc/planner/match/MatchSolver.h
- src/planner/match/VertexIdSeek.cpp 1 addition, 1 deletionsrc/planner/match/VertexIdSeek.cpp
- src/validator/MatchValidator.cpp 3 additions, 2 deletionssrc/validator/MatchValidator.cpp
- tests/tck/features/bugfix/MatchReturnEmptyTag.feature 1 addition, 0 deletionstests/tck/features/bugfix/MatchReturnEmptyTag.feature
- tests/tck/features/match/Base.IntVid.feature 1 addition, 1 deletiontests/tck/features/match/Base.IntVid.feature
- tests/tck/features/match/Base.feature 1 addition, 1 deletiontests/tck/features/match/Base.feature
- tests/tck/features/match/ZeroStep.feature 457 additions, 0 deletionstests/tck/features/match/ZeroStep.feature
- tests/tck/features/match/ZeroStep.intVid.feature 457 additions, 0 deletionstests/tck/features/match/ZeroStep.intVid.feature
Please register or sign in to comment