Skip to content

Conversation

@qidian99
Copy link

close #117

@github-actions github-actions bot added the bug Something isn't working label Nov 20, 2025
@github-actions
Copy link
Contributor

ACTION NEEDED
Lance follows the Conventional Commits specification for release automation.

The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification.

For details on the error please inspect the "PR Title Check" action.

@qidian99 qidian99 changed the title fix: DELETE using _rowaddr incorrectly applied to all fragments fix: delete using _rowaddr incorrectly applied to all fragments Nov 20, 2025

@Override
public void delete(InternalRow metadata, InternalRow id) throws IOException {
long rowAddr = id.getLong(0);
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Although this modification can workaround this problem, I think it's tricky and confusable. Theoretically, the metadata and id should belong to the same row. Which means that they belong to the same Fragment.

I think we also should fix the Fragment.scan's wrong results with filter _rowaddr == 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DELETE using _rowaddr incorrectly applied to all fragments

2 participants