kevinjqliu commented on code in PR #289:
URL: https://github.com/apache/iceberg-python/pull/289#discussion_r1461359249
##########
tests/catalog/test_base.py:
##########
@@ -585,8 +397,10 @@ def test_commit_table(catalog: InMemoryCatalog) -> None:
# Then
assert response.metadata.table_uuid == given_table.metadata.table_uuid
- assert len(response.metadata.schemas) == 1
- assert response.metadata.schemas[0] == new_schema
+ assert given_table.metadata.current_schema_id == 1
Review Comment:
this mirrors the java tests
https://github.com/apache/iceberg/blob/e32df0ce08086758c44e9174c582638068244073/core/src/test/java/org/apache/iceberg/TestTableMetadata.java#L1497-L1527
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]