-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[branch-4.0] pick some expr-related PRs into branch-4.0. #60436
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: branch-4.0
Are you sure you want to change the base?
Conversation
…execute_conjuncts. (apache#58636) Previously, execute_conjuncts had to check on every operation whether it was an rf wrapper; now that check is encapsulated in a virtual method. This has the advantage that in the _always_true case it can return immediately without constructing a column. The variables related to the rf check have been moved into VExprContext, so we no longer need to worry about concurrency. set in be.conf ``` sys_log_verbose_modules = runtime_filter_selectivity ``` output ``` I20251204 18:02:22.102540 3778890 runtime_filter_selectivity.h:53] Runtime filter[1] selectivity update: filter_rows: 144839, input_rows: 145799, filter rate: 0.9945866141732284, ignore_thredhold: 0.059489920657150065, counter: 35 , always_true: false ```
…er. (apache#59835) This will reduce hashset lookups.
…pache#59830) ```mysql mysql> set enable_strict_cast = true; Query OK, 0 rows affected (0.00 sec) mysql> select count( -> if(number < 128 , -> cast(number as tinyint), -> cast(number as String)) -> ) from numbers("number" = "300"); ERROR 1105 (HY000): errCode = 2, detailMessage = (127.0.0.1)[INVALID_ARGUMENT]Value 128 out of range for type tinyint mysql> set short_circuit_evaluation = true; Query OK, 0 rows affected (0.00 sec) mysql> select count( -> if(number < 128 , -> cast(number as tinyint), -> cast(number as String)) -> ) from numbers("number" = "300"); +-----------------------------------------------------------------------------------------------------------------+ | count( if(number < 128 , cast(number as tinyint), cast(number as String)) ) | +-----------------------------------------------------------------------------------------------------------------+ | 300 | +-----------------------------------------------------------------------------------------------------------------+ ```
|
run buildall |
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
FE UT Coverage ReportIncrement line coverage `` 🎉 |
|
run buildall |
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
|
run buildall |
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
FE UT Coverage ReportIncrement line coverage |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
What problem does this PR solve?
#58636
#59835
#59830
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)