[PTAL] Match groupby (#607)
* implement match groupby
tmp
rewrite ahead
rollback to unrewrited
abstract into yieldClauseCtx
refactoring
add rewrite visitor
handle nested agg
* add test cases
add validator test
add validator test
add test cases
fix test
small change
small change
add test cases
small change
small change
small change
small change
add cypher test case
Co-authored-by:
Yee <2520865+yixinglu@users.noreply.github.com>
Showing
- src/context/ast/QueryAstContext.h 18 additions, 4 deletionssrc/context/ast/QueryAstContext.h
- src/executor/query/AggregateExecutor.cpp 1 addition, 1 deletionsrc/executor/query/AggregateExecutor.cpp
- src/planner/CMakeLists.txt 1 addition, 0 deletionssrc/planner/CMakeLists.txt
- src/planner/match/ReturnClausePlanner.cpp 6 additions, 44 deletionssrc/planner/match/ReturnClausePlanner.cpp
- src/planner/match/YieldClausePlanner.cpp 117 additions, 0 deletionssrc/planner/match/YieldClausePlanner.cpp
- src/planner/match/YieldClausePlanner.h 35 additions, 0 deletionssrc/planner/match/YieldClausePlanner.h
- src/util/ExpressionUtils.cpp 46 additions, 0 deletionssrc/util/ExpressionUtils.cpp
- src/util/ExpressionUtils.h 5 additions, 0 deletionssrc/util/ExpressionUtils.h
- src/validator/GroupByValidator.cpp 0 additions, 1 deletionsrc/validator/GroupByValidator.cpp
- src/validator/GroupByValidator.h 0 additions, 1 deletionsrc/validator/GroupByValidator.h
- src/validator/MatchValidator.cpp 101 additions, 10 deletionssrc/validator/MatchValidator.cpp
- src/validator/MatchValidator.h 4 additions, 0 deletionssrc/validator/MatchValidator.h
- src/validator/test/MatchValidatorTest.cpp 401 additions, 0 deletionssrc/validator/test/MatchValidatorTest.cpp
- src/visitor/RewriteMatchLabelVisitor.cpp 8 additions, 0 deletionssrc/visitor/RewriteMatchLabelVisitor.cpp
- src/visitor/RewriteMatchLabelVisitor.h 1 addition, 0 deletionssrc/visitor/RewriteMatchLabelVisitor.h
- tests/tck/features/expression/predicate.feature 0 additions, 1 deletiontests/tck/features/expression/predicate.feature
- tests/tck/features/index/Index.IntVid.feature 0 additions, 1 deletiontests/tck/features/index/Index.IntVid.feature
- tests/tck/features/match/MatchGroupBy.feature 189 additions, 0 deletionstests/tck/features/match/MatchGroupBy.feature
- tests/tck/features/schema/Schema.feature 0 additions, 1 deletiontests/tck/features/schema/Schema.feature
Please register or sign in to comment