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

fix(iceberg): Position delete bug while doing upper bound check #12453

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nmahadevuni
Copy link
Collaborator

While updating the bitmap for delete positions, we are including the exclusive upper bound, leading to incorrectly
setting the buffer size.

  While updating the bitmap for delete positions, we are
  including the exclusive upper bound, leading to incorrectly
  setting the buffer size
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 26, 2025
Copy link

netlify bot commented Feb 26, 2025

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 9ad3530
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/67beb8e0170fc40008da57b8

@nmahadevuni nmahadevuni requested review from yingsu00 and removed request for majetideepak February 26, 2025 07:21
@@ -251,7 +251,7 @@ void PositionalDeleteFileReader::updateDeleteBitmap(
static_cast<uint64_t>(deleteBitmapBuffer->size()),
deletePositionsOffset_ == 0 ||
(deletePositionsOffset_ < deletePositionsVector->size() &&
deletePositions[deletePositionsOffset_] > rowNumberUpperBound)
deletePositions[deletePositionsOffset_] >= rowNumberUpperBound)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Line 249 typo: "all delte files" -> "all delete files"

@yingsu00 yingsu00 requested review from rui-mo and Yuhta February 28, 2025 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants