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

[Feat](nereids) Support date_trunc function in partition prune (#38025) #38849

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

feiniaofeiafei
Copy link
Contributor

cherry-pick #38025 to branch-2.1

…e#38025)

let range partition pruner support date_trunc(dt, 'day') > 10.
For example, partition column is dt, 
there is a partition
('2020-01-01 10:00:00', '2020-02-05 10:00:00'),
and a predicate
date_trunc(dt, 'day')<'2019-01-01 ',
this partition can be pruned.
@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@feiniaofeiafei
Copy link
Contributor Author

run buildall

@yiguolei yiguolei merged commit 0f0b0e9 into apache:branch-2.1 Aug 5, 2024
21 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants