-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plan, expression: add date function support for hash partition #15068
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems we can create issues for these scalar functions which can support FastLocateHashPartition
, and put these issues into UCP
and let contributors help us finish them.
LGTM |
/merge |
/run-all-tests |
@imtbkcat merge failed. |
975e582
to
7b0f238
Compare
Codecov Report
@@ Coverage Diff @@
## master #15068 +/- ##
===========================================
Coverage ? 80.3431%
===========================================
Files ? 502
Lines ? 133816
Branches ? 0
===========================================
Hits ? 107512
Misses ? 17846
Partials ? 8458 |
/merge |
/run-all-tests |
Signed-off-by: sre-bot <sre-bot@pingcap.com>
cherry pick to release-3.0 in PR #15452 |
Signed-off-by: sre-bot <sre-bot@pingcap.com>
cherry pick to release-3.1 in PR #15453 |
What problem does this PR solve?
After refactor hash partition pruning logic, hash partition doesn't support builtin function yet. This PR add logic to support builtin function relating to date and time.
What is changed and how it works?
Support
YEAR
,MONTH
,TO_DAY
in hash partition.Check List
Tests
Code changes
Side effects
Related changes
Release note