Skip to content
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

[AMORO-3391] Fix minor optimizing repeated issue #3392

Merged
merged 2 commits into from
Jan 6, 2025

Conversation

zhoujinsong
Copy link
Contributor

Why are the changes needed?

Close #3391.

Brief change log

  • Make sure to rewrite the segment file when the equality delete file exsist.

How was this patch tested?

  • Add some test cases that check the changes thoroughly including negative and positive cases if possible

  • Add screenshots for manual tests if appropriate

  • Run test locally before making a pull request

Documentation

  • Does this pull request introduce a new feature? (no)
  • If yes, how is the feature documented? (not applicable)

@zhoujinsong
Copy link
Contributor Author

The old codes will skip rewriting the segment file when it has a position delete file and some other equality delete file, which will make the equality delete file not be removed after optimizing.

@zhongqishang Can you help to review this PR?

Copy link
Contributor

@zhongqishang zhongqishang left a comment

Choose a reason for hiding this comment

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

LGTM.

@zhoujinsong
Copy link
Contributor Author

@zhoujinsong Thanks for the review!

@zhoujinsong zhoujinsong merged commit 0cc0529 into apache:master Jan 6, 2025
4 checks passed
@zhoujinsong zhoujinsong deleted the fix-minor-optimizing branch January 6, 2025 02:12
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.

[Bug]: Minor optimizing will be continuously repeated.
2 participants