Skip to content

[fix](inverted index) fix query error (#50860) - #50909

Merged
yiguolei merged 2 commits into
apache:branch-2.1from
csun5285:pick_50860_to_2.1
May 17, 2025
Merged

[fix](inverted index) fix query error (#50860)#50909
yiguolei merged 2 commits into
apache:branch-2.1from
csun5285:pick_50860_to_2.1

Conversation

@csun5285

Copy link
Copy Markdown
Contributor

pick from master #50860

‌When the IN predicate in an expression contains parameters generated
through CAST operations, utilizing inverted indexes may produce
erroneous query results.
@csun5285
csun5285 requested a review from yiguolei as a code ownerMay 14, 2025 10:06
@Thearas

Copy link
Copy Markdown
Contributor

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?

@csun5285

Copy link
Copy Markdown
ContributorAuthor

run buildall

@hello-stephen

Copy link
Copy Markdown
Contributor

BE UT Coverage Report

Increment line coverage 50.00% (2/4) 🎉

Increment coverage report
Complete coverage report

CategoryCoverage
Function Coverage39.03% (10323/26449)
Line Coverage30.04% (85734/285432)
Region Coverage28.72% (44243/154074)
Branch Coverage25.44% (22639/88982)

@hello-stephen

Copy link
Copy Markdown
Contributor

BE Regression && UT Coverage Report

Increment line coverage 100.00% (4/4) 🎉

Increment coverage report
Complete coverage report

CategoryCoverage
Function Coverage74.58% (19430/26054)
Line Coverage69.24% (196396/283628)
Region Coverage66.82% (119867/179386)
Branch Coverage59.80% (60186/100638)

@github-actionsgithub-actionsBot added the approved Indicates a PR has been approved by one committer. label May 17, 2025
@github-actions

Copy link
Copy Markdown
Contributor

PR approved by at least one committer and no changes requested.

@github-actions

Copy link
Copy Markdown
Contributor

PR approved by anyone and no changes requested.

@yiguolei
yiguolei merged commit 505c9af into apache:branch-2.1May 17, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approvedIndicates a PR has been approved by one committer.reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@csun5285@Thearas@hello-stephen@yiguolei