Skip to content
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) #15452

Closed

Conversation

sre-bot
Copy link
Contributor

@sre-bot sre-bot commented Mar 18, 2020

cherry-pick #15068 to release-3.0


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

  • Unit test

Code changes

  • None

Side effects

  • Increased code complexity

Related changes

  • Need to cherry-pick to the release branch

Release note

@sre-bot
Copy link
Contributor Author

sre-bot commented Mar 18, 2020

/run-all-tests

@tiancaiamao
Copy link
Contributor

Please resolve conflicts @imtbkcat

@imtbkcat
Copy link

move to #15618

@imtbkcat imtbkcat closed this Mar 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/expression sig/planner SIG: Planner type/enhancement The issue or PR belongs to an enhancement. type/3.0-cherry-pick
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants