Skip to content

Commit 1a77eef

Browse files
committed
fix: Exclude streamTimestamp from Metafile equivalence check
streamTimestamp is a system property set at commit time, so it should be excluded from equivalence comparisons (like IDs and other locators). This fixes test_recursive_cross_catalog_copy failing because copied deltas have different timestamps than originals.
1 parent 809541b commit 1a77eef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

deltacat/storage/model/metafile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -821,6 +821,7 @@ def equivalent_to(self, other: Metafile) -> bool:
821821
"partitionLocator",
822822
"deltaLocator",
823823
"compactionRoundCompletionInfo",
824+
"streamTimestamp",
824825
}
825826
return Metafile._equivalent_minus_exclusions(self, other, identifiers)
826827

0 commit comments

Comments
 (0)