-
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
base: master
Are you sure you want to change the base?
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 |
| return false; | ||
| } | ||
|
|
||
| static void collect_columns_info(std::vector<ColumnWithConstAndNullMap>& columns_info, |
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.
利用这一套似乎并没有怎么简化代码。就自己手工处理下const和nullable就行了吧?
| if (value < thresholds[0].getValue()) { | ||
| return new IntegerLiteral(0); | ||
| } | ||
| int l = 0; |
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.
java有没有类似upper_bound的标准库函数?
What problem does this PR solve?
Issue Number: #48203
Related PR: #57569
Problem Summary:
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)