Skip to content

branch-3.0: [fix](inverted index) fix error when writing empty index file #51984 - #52861

Merged
dataroaring merged 1 commit into
apache:branch-3.0from
airborne12:pick_51984_to_origin_branch-3.0
Jul 7, 2025
Merged

branch-3.0: [fix](inverted index) fix error when writing empty index file #51984#52861
dataroaring merged 1 commit into
apache:branch-3.0from
airborne12:pick_51984_to_origin_branch-3.0

Conversation

@airborne12

Copy link
Copy Markdown
Member

cherry pick from #51984

…#51984)
Related PR: apache#51393
Problem Summary:
This PR ensures that copying an empty inverted index segment no longer
throws an exception.
@airborne12

Copy link
Copy Markdown
MemberAuthor

run buildall

@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?

@hello-stephen

Copy link
Copy Markdown
Contributor

BE UT Coverage Report

Increment line coverage 0.00% (0/4) 🎉

Increment coverage report
Complete coverage report

CategoryCoverage
Function Coverage41.21% (10945/26562)
Line Coverage31.96% (93667/293084)
Region Coverage31.08% (48306/155430)
Branch Coverage27.53% (24736/89862)

@dataroaringdataroaring left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dataroaring
dataroaring merged commit 5e3a14c into apache:branch-3.0Jul 7, 2025
Sign up for freeto 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.

4 participants

@airborne12@Thearas@hello-stephen@dataroaring