Test: Mock window function, refactor window function tests#5021
Test: Mock window function, refactor window function tests#5021ti-chi-bot merged 44 commits intopingcap:masterfrom
Conversation
|
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by submitting an approval review. |
|
you can try gmock to do mock test which has embedded in gtest |
It's not my intention to this pr. |
|
maybe we can remove tiflash/dbms/src/Flash/Coprocessor/DAGQueryBlockInterpreter.h Lines 57 to 59 in 1e3207d tiflash/dbms/src/Flash/Coprocessor/DAGExpressionAnalyzer.h Lines 156 to 158 in 1e3207d |
| window_description.window_functions_descriptions.begin(), | ||
| window_description.window_functions_descriptions.end(), | ||
| [&](const auto & func, FmtBuffer & b) { | ||
| b.fmtAppend("{}", func.window_function->getName()); |
There was a problem hiding this comment.
| b.fmtAppend("{}", func.window_function->getName()); | |
| b.append(func.window_function->getName()); |
|
/merge |
|
@ywqzzy: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger If you have any questions about the PR merge process, please refer to pr process. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: 958722d |
Coverage for changed filesCoverage summaryfull coverage report (for internal network access only) |
What problem does this PR solve?
Issue Number: ref #4609 close #5081
Problem Summary:
Mock window and sort executors.
Rewrite window function tests in new test framework.
What is changed and how it works?
Check List
Tests
Side effects
Documentation
Release note