-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[enhance](nerieds) date_format, to_monday, last_day, to_date, year implement Monotonic #44789
Conversation
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
run buildall |
TPC-H: Total hot run time: 40062 ms
|
TPC-DS: Total hot run time: 196683 ms
|
ClickBench: Total hot run time: 33.11 s
|
...re/src/main/java/org/apache/doris/nereids/trees/expressions/functions/scalar/DateFormat.java
Outdated
Show resolved
Hide resolved
4f5a5fc
to
62b72ba
Compare
run buildall |
...re/src/main/java/org/apache/doris/nereids/trees/expressions/functions/scalar/DateFormat.java
Outdated
Show resolved
Hide resolved
regression-test/suites/nereids_rules_p0/partition_prune/always_mono_func.groovy
Show resolved
Hide resolved
62b72ba
to
29e6ca9
Compare
run buildall |
TPC-H: Total hot run time: 39863 ms
|
TPC-DS: Total hot run time: 189310 ms
|
ClickBench: Total hot run time: 33.2 s
|
run buildall |
PR approved by anyone and no changes requested. |
TPC-H: Total hot run time: 39622 ms
|
TPC-DS: Total hot run time: 196395 ms
|
ClickBench: Total hot run time: 32.28 s
|
f1849a8
to
c43be11
Compare
run buildall |
1 similar comment
run buildall |
TPC-H: Total hot run time: 39642 ms
|
TPC-DS: Total hot run time: 190537 ms
|
ClickBench: Total hot run time: 33.71 s
|
run p0 |
1475058
to
fb99231
Compare
run buildall |
TPC-H: Total hot run time: 32618 ms
|
TPC-DS: Total hot run time: 197031 ms
|
ClickBench: Total hot run time: 31.06 s
|
9ada9e4
to
3ce9cf6
Compare
run buildall |
TPC-H: Total hot run time: 32955 ms
|
TPC-DS: Total hot run time: 197100 ms
|
ClickBench: Total hot run time: 32.04 s
|
private static final Set<String> monoFormat = ImmutableSet.of("yyyyMMdd", "yyyy-MM-dd", "yyyy-MM-ddHH:mm:ss", | ||
"%Y", "%Y-%m", "%Y-%m-%d", "%Y-%m-%d%H", "%Y-%m-%d%H:%i", "%Y-%m-%d%H:%i:%s", "%Y-%m-%d%H:%i:%S", | ||
"%Y-%m-%d%T", "%Y%m%d", "%Y%m"); |
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.
add case that the original format is illegal, such as yyy yM Md d
3ce9cf6
to
b6dedaf
Compare
…plement Monotonic [enhance](nerieds) data_format, to_monday, last_day, to_date, year implement Monotonic
b6dedaf
to
342c1f3
Compare
run buildall |
TPC-H: Total hot run time: 32628 ms
|
TPC-DS: Total hot run time: 196976 ms
|
ClickBench: Total hot run time: 31.04 s
|
PR approved by at least one committer and no changes requested. |
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
This pr implement Monotonic for date_format, to_monday, last_day, to_date, year, which will allow partition pruning on partition column with there functions.
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)