File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323
2424def validation_history (
2525 table : Table ,
26- from_snapshot : Snapshot ,
2726 to_snapshot : Snapshot ,
27+ from_snapshot : Snapshot ,
2828 matching_operations : set [Operation ],
2929 manifest_content_filter : ManifestContent ,
3030) -> tuple [list [ManifestFile ], list [Snapshot ]]:
3131 """Return newly added manifests and snapshot IDs between the starting snapshot and parent snapshot.
3232
3333 Args:
3434 table: Table to get the history from
35- from_snapshot: Parent snapshot to get the history from
3635 to_snapshot: Starting snapshot
36+ from_snapshot: Parent snapshot to get the history from
3737 matching_operations: Operations to match on
3838 manifest_content_filter: Manifest content type to filter
3939
@@ -47,7 +47,7 @@ def validation_history(
4747 snapshots : list [Snapshot ] = []
4848
4949 last_snapshot = None
50- for snapshot in ancestors_between (from_snapshot , to_snapshot , table .metadata ):
50+ for snapshot in ancestors_between (to_snapshot , from_snapshot , table .metadata ):
5151 last_snapshot = snapshot
5252 summary = snapshot .summary
5353 if summary is None :
You can’t perform that action at this time.
0 commit comments