Skip to content

[spark] Fix missing data for delete hiding remaining records - #9224

Open
ArnavBalyan wants to merge 1 commit into
apache:masterfrom
ArnavBalyan:arnavb/spark-first-row-delete
Open

[spark] Fix missing data for delete hiding remaining records#9224
ArnavBalyan wants to merge 1 commit into
apache:masterfrom
ArnavBalyan:arnavb/spark-first-row-delete

Conversation

@ArnavBalyan

Copy link
Copy Markdown
Member

Purpose

  • Deleting records from a compacted table makes the remaining records invisible.
  • The cow delete uses write only mode, leaving rewritten records at level 0, which first row scans do not read.
  • Fix this by ignoring the previous files while keeping compaction enabled, ensuring the rewritten records are promoted to a readable level.

Tests

  • UT

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.

1 participant