Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
comment
  • Loading branch information
kevinjqliu committed Apr 28, 2024
commit 58b0609da33129ae29116d73449226f9f63ce93e
1 change: 1 addition & 0 deletions pyiceberg/table/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3560,6 +3560,7 @@ def metadata_log_entry_to_row(metadata_entry: MetadataLogEntry) -> Dict[str, Any
"latest_sequence_number": latest_snapshot.sequence_number if latest_snapshot else None,
}

# imitates `addPreviousFile` from Java, might could move this to `metadata_log` constructor
metadata_log_entries = self.tbl.metadata.metadata_log + [
MetadataLogEntry(metadata_file=self.tbl.metadata_location, timestamp_ms=self.tbl.metadata.last_updated_ms)
]
Expand Down