-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](function)width_bucket did not enforce that the fourth argument must be a constant. #60643
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?
[fix](function)width_bucket did not enforce that the fourth argument must be a constant. #60643
Conversation
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
|
run buildall |
...e/src/main/java/org/apache/doris/nereids/trees/expressions/functions/scalar/WidthBucket.java
Show resolved
Hide resolved
TPC-H: Total hot run time: 29983 ms |
ClickBench: Total hot run time: 28.62 s |
|
run buildall |
TPC-H: Total hot run time: 30504 ms |
FE UT Coverage ReportIncrement line coverage |
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: 30561 ms |
ClickBench: Total hot run time: 28.64 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
1 similar comment
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
FE Regression Coverage ReportIncrement line coverage |
1 similar comment
FE Regression Coverage ReportIncrement line coverage |
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
FE Regression Coverage ReportIncrement line coverage |
What problem does this PR solve?
The implementation of width_bucket requires the fourth argument to be constant but did not enforce this; a regular column can be passed in, however width_bucket will only use the first row.
before
now
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)