-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python: Small fixes #7989
Python: Small fixes #7989
Conversation
Uncovered these when upgrading to Pydantic 2.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! @Fokko Thanks for your great work!
One minor non-blocking suggestion: I think it would be great to update snapshot_id
parameter in these tests to use int type, to reflect the improvements made in the PR.
iceberg/python/tests/table/test_init.py
Lines 185 to 189 in 1f1ec4b
def test_history(table: Table) -> None: | |
assert table.history() == [ | |
SnapshotLogEntry(snapshot_id="3051729675574597004", timestamp_ms=1515100955770), | |
SnapshotLogEntry(snapshot_id="3055729675574597004", timestamp_ms=1555100955770), | |
] |
iceberg/python/tests/catalog/test_hive.py
Lines 353 to 356 in 1f1ec4b
snapshot_log=[ | |
SnapshotLogEntry(snapshot_id="3051729675574597004", timestamp_ms=1515100955770), | |
SnapshotLogEntry(snapshot_id="3055729675574597004", timestamp_ms=1555100955770), | |
], |
@JonasJ-ap Great catch! |
PR Analysis
PR Feedback
How to use
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @Fokko. And thanks @JonasJ-ap for reviewing
Uncovered these when upgrading to Pydantic 2.0