add group by validator (#156)
* add group by validator * check groupby & yield * add groupby sentence * fix compiler error * add test case * modify deduceProps * modify code * remove useless code * add test case * fix error * add test case * fix error * check duplicate columnname * remove useless code * rebase code * check duplicate Co-authored-by:jimingquan <mingquan.ji@vesoft.com> Co-authored-by:
laura-ding <48548375+laura-ding@users.noreply.github.com>
Showing
- .clang-format 157 additions, 0 deletions.clang-format
- ci/test.sh 1 addition, 0 deletionsci/test.sh
- src/parser/Sentence.h 1 addition, 1 deletionsrc/parser/Sentence.h
- src/parser/TraverseSentences.h 1 addition, 1 deletionsrc/parser/TraverseSentences.h
- src/service/PermissionCheck.cpp 1 addition, 1 deletionsrc/service/PermissionCheck.cpp
- src/validator/CMakeLists.txt 1 addition, 0 deletionssrc/validator/CMakeLists.txt
- src/validator/GoValidator.cpp 75 additions, 53 deletionssrc/validator/GoValidator.cpp
- src/validator/GoValidator.h 2 additions, 0 deletionssrc/validator/GoValidator.h
- src/validator/GroupByValidator.cpp 156 additions, 0 deletionssrc/validator/GroupByValidator.cpp
- src/validator/GroupByValidator.h 54 additions, 0 deletionssrc/validator/GroupByValidator.h
- src/validator/MutateValidator.cpp 7 additions, 6 deletionssrc/validator/MutateValidator.cpp
- src/validator/MutateValidator.h 1 addition, 0 deletionssrc/validator/MutateValidator.h
- src/validator/SequentialValidator.cpp 1 addition, 1 deletionsrc/validator/SequentialValidator.cpp
- src/validator/Validator.cpp 111 additions, 27 deletionssrc/validator/Validator.cpp
- src/validator/Validator.h 54 additions, 10 deletionssrc/validator/Validator.h
- src/validator/YieldValidator.cpp 14 additions, 11 deletionssrc/validator/YieldValidator.cpp
- src/validator/YieldValidator.h 2 additions, 0 deletionssrc/validator/YieldValidator.h
- src/validator/test/CMakeLists.txt 1 addition, 0 deletionssrc/validator/test/CMakeLists.txt
- src/validator/test/GroupByValidatorTest.cpp 271 additions, 0 deletionssrc/validator/test/GroupByValidatorTest.cpp
- tests/query/stateless/test_new_groupby.py 367 additions, 0 deletionstests/query/stateless/test_new_groupby.py
.clang-format
0 → 100644
src/validator/GroupByValidator.cpp
0 → 100644
src/validator/GroupByValidator.h
0 → 100644
src/validator/test/GroupByValidatorTest.cpp
0 → 100644
tests/query/stateless/test_new_groupby.py
0 → 100644
Please register or sign in to comment