Skip to content

Test UPDATE and MERGE output files stay tight in AMT trees - #8438

Merged
murali-db merged 1 commit into
delta-io:masterfrom
geraintcjy:amt-dml-files-tight-in-tree
Dec 5, 2026
Merged

murali-db merged 1 commit into
delta-io:masterfrom
geraintcjy:amt-dml-files-tight-in-tree

Conversation

@geraintcjy

Copy link
Copy Markdown
Collaborator

UPDATE and MERGE on a table with adaptive metadata trees rewrite only the target files, and one of the rewritten files can carry a deletion vector.

This adds scenario checks that run an UPDATE or a MERGE on an adaptive metadata tree and assert that:

  • every file the DML writes keeps tightStats, so metadata-only aggregates can still answer from the written files, and
  • the file holding a deletion vector keeps its full stats instead.

checkDMLFilesStayTight is reused across the UPDATE and MERGE variants of each checkpoint scenario.

UPDATE and MERGE on an adaptive metadata tree rewrite only the target files, and
one of them can carry a deletion vector. The new checks assert that every file
the DML writes keeps tightStats except the one holding a DV, which keeps its
full stats.
@murali-db
murali-db merged commit 17d26ac into delta-io:master Dec 5, 2026
36 checks passed
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.

2 participants