tidb
tidb copied to clipboard
expression: implement castTimeAsDuration function pushdown
What problem does this PR solve?
Issue Number: close #37033 related issue: https://github.com/pingcap/tiflash/issues/5306 Problem Summary: support castTimeAsDuration in tiflash
What is changed and how it works?
- open pushdown of castTimeAsDuration
- add some test
Check List
Tests
- [x] Unit test
- [x] Integration test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No code
Side effects
- [ ] Performance regression: Consumes more CPU
- [ ] Performance regression: Consumes more Memory
- [ ] Breaking backward compatibility
Documentation
- [ ] Affects user behaviors
- [ ] Contains syntax changes
- [ ] Contains variable changes
- [ ] Contains experimental features
- [ ] Changes MySQL compatibility
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.
Support to pushdown castTimeAsDuration to TiFlash
[REVIEW NOTIFICATION]
This pull request has been approved by:
- SeaRise
- guo-shaoge
To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer
in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer
in the comment to help you merge this pull request.
The full list of commands accepted by this bot can be found here.
Reviewer can indicate their review by submitting an approval review. Reviewer can cancel approval by submitting a request changes review.
/run-all-tests
/cc @SeaRise
/run-unit-test
/run-unit-test
/run-unit-test
Code Coverage Details: https://codecov.io/github/pingcap/tidb/commit/e8c036cea8db937184964860ca9f49a540b3eca8
/run-all-tests
/cc @ywqzzy
@ywqzzy: Thanks for your review. The bot only counts approvals from reviewers and higher roles in list, but you're still welcome to leave your comments.
In response to this:
LGTM
Instructions 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.
/merge
This pull request has been accepted and is ready to merge.
TiDB MergeCI notify
CI Name | Result | Duration | Compare with Parent commit |
---|---|---|---|
idc-jenkins-ci/integration-cdc-test | 🟢 all 36 tests passed | 33 min | Existing passed |
idc-jenkins-ci-tidb/integration-common-test | 🟢 all 17 tests passed | 22 min | Existing passed |
idc-jenkins-ci-tidb/common-test | 🟢 all 11 tests passed | 13 min | Existing passed |
idc-jenkins-ci-tidb/tics-test | 🟢 all 1 tests passed | 7 min 42 sec | Existing passed |
idc-jenkins-ci-tidb/integration-ddl-test | 🟢 all 6 tests passed | 6 min 58 sec | Existing passed |
idc-jenkins-ci-tidb/sqllogic-test-2 | 🟢 all 28 tests passed | 6 min 31 sec | Existing passed |
idc-jenkins-ci-tidb/sqllogic-test-1 | 🟢 all 26 tests passed | 5 min 19 sec | Existing passed |
idc-jenkins-ci-tidb/mybatis-test | 🟢 all 1 tests passed | 3 min 12 sec | Existing passed |
idc-jenkins-ci-tidb/integration-compatibility-test | 🟢 all 1 tests passed | 2 min 54 sec | Existing passed |
idc-jenkins-ci-tidb/plugin-test | 🟢 build success, plugin test success | 4min | Existing passed |
TiDB MergeCI notify
CI Name | Result | Duration | Compare with Parent commit |
---|---|---|---|
idc-jenkins-ci/integration-cdc-test | 🟢 all 36 tests passed | 26 min | Existing passed |
idc-jenkins-ci-tidb/integration-common-test | 🟢 all 17 tests passed | 13 min | Existing passed |
idc-jenkins-ci-tidb/common-test | 🟢 all 11 tests passed | 12 min | Existing passed |
idc-jenkins-ci-tidb/tics-test | 🟢 all 1 tests passed | 7 min 22 sec | Existing passed |
idc-jenkins-ci-tidb/integration-ddl-test | 🟢 all 6 tests passed | 5 min 43 sec | Existing passed |
idc-jenkins-ci-tidb/sqllogic-test-2 | 🟢 all 28 tests passed | 5 min 33 sec | Existing passed |
idc-jenkins-ci-tidb/sqllogic-test-1 | 🟢 all 26 tests passed | 5 min 14 sec | Existing passed |
idc-jenkins-ci-tidb/mybatis-test | 🟢 all 1 tests passed | 4 min 22 sec | Existing passed |
idc-jenkins-ci-tidb/integration-compatibility-test | 🟢 all 1 tests passed | 3 min 13 sec | Existing passed |
idc-jenkins-ci-tidb/plugin-test | 🟢 build success, plugin test success | 4min | Existing passed |