-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[Feature](func) Support INTERVAL function and fix EXPORT_SET constant process #58885
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
Conversation
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
|
run buildall |
FE UT Coverage ReportIncrement line coverage |
TPC-H: Total hot run time: 36199 ms |
TPC-DS: Total hot run time: 181420 ms |
ClickBench: Total hot run time: 27.18 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
FE Regression Coverage ReportIncrement line coverage |
|
run buildall |
FE UT Coverage ReportIncrement line coverage |
TPC-H: Total hot run time: 35593 ms |
TPC-DS: Total hot run time: 181433 ms |
ClickBench: Total hot run time: 27.73 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
FE Regression Coverage ReportIncrement line coverage |
.../java/org/apache/doris/nereids/trees/expressions/functions/executable/NumericArithmetic.java
Outdated
Show resolved
Hide resolved
|
run buildall |
FE UT Coverage ReportIncrement line coverage |
TPC-H: Total hot run time: 32881 ms |
TPC-DS: Total hot run time: 174808 ms |
ClickBench: Total hot run time: 27.35 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
FE Regression Coverage ReportIncrement line coverage |
|
run buildall |
TPC-H: Total hot run time: 31461 ms |
TPC-DS: Total hot run time: 172226 ms |
ClickBench: Total hot run time: 26.97 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
FE Regression Coverage ReportIncrement line coverage |
|
run p0 |
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
FE Regression Coverage ReportIncrement line coverage |
zclllyybb
left a comment
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
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
… process (#58885) Related PR: #57569 Problem Summary: fix the wrong useage of function `default_preprocess_parameter_columns`, the variable `all_const` should not be affected by manually handled columns. ### Release note doc: apache/doris-website#3176 The INTERVAL function uses binary search to return the index of the first threshold strictly greater than N. ```sql SELECT INTERVAL(0, 1, 10, 100); +--------------------------+ | INTERVAL(0, 1, 10, 100) | +--------------------------+ | 0 | +--------------------------+ SELECT INTERVAL(10, 1, 10, 100, 1000); +-----------------------------------+ | INTERVAL(10, 1, 10, 100, 1000) | +-----------------------------------+ | 2 | +-----------------------------------+ -- First parameter is NULL SELECT INTERVAL(NULL, 1, 10, 100); +----------------------------+ | INTERVAL(NULL, 1, 10, 100) | +----------------------------+ | -1 | +----------------------------+ -- Subsequent parameters are NULL, treated as 0 SELECT INTERVAL(3, -1, NULL, 2, 3, 4); +--------------------------------+ | INTERVAL(3, -1, NULL, 2, 3, 4) | +--------------------------------+ | 4 | +--------------------------------+ ``` Co-authored-by: jianhao <1367919489@qq.com>
What problem does this PR solve?
Issue Number: #48203
Related PR: #57569
Problem Summary:
fix the wrong useage of function
default_preprocess_parameter_columns, the variableall_constshould not be affected by manually handled columns.Release note
doc: apache/doris-website#3176
The INTERVAL function uses binary search to return the index of the first threshold strictly greater than N.
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)