Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Dec 1, 2025

Cherry-picked from #58466

Previously, if always_true() returned true, judge would not be reset.
it was reset inside do_judge_selectivity.

```
        if (always_true()) {
            return size;
        }

        uint16_t new_size = _evaluate_inner(column, sel, size);
        if (_can_ignore()) {
            do_judge_selectivity(size - new_size, size);
        }
        update_filter_info(size - new_size, size);
        return new_size;
```
@github-actions github-actions bot requested a review from yiguolei as a code owner December 1, 2025 05:39
@Thearas
Copy link
Contributor

Thearas commented Dec 1, 2025

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@dataroaring dataroaring closed this Dec 1, 2025
@dataroaring dataroaring reopened this Dec 1, 2025
@Thearas
Copy link
Contributor

Thearas commented Dec 1, 2025

run buildall

@doris-robot
Copy link

BE UT Coverage Report

Increment line coverage 57.14% (4/7) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 52.70% (18214/34562)
Line Coverage 38.09% (165832/435351)
Region Coverage 33.12% (128813/388874)
Branch Coverage 33.94% (55478/163465)

@yiguolei yiguolei merged commit daa1b6f into branch-4.0 Dec 2, 2025
24 of 27 checks passed
@github-actions github-actions bot deleted the auto-pick-58466-branch-4.0 branch December 2, 2025 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants