Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinjqliu committed Mar 7, 2024
1 parent 73e8e12 commit bda7fdb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/integration/test_reads.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ def test_table_properties(catalog: Catalog) -> None:
assert table.properties == DEFAULT_PROPERTIES

table = table.transaction().set_properties(abc=123).commit_transaction()
# properties are stored as strings in the iceberg spec
assert table.properties == dict(abc="123", **DEFAULT_PROPERTIES)

with pytest.raises(ValidationError) as exc_info:
Expand Down Expand Up @@ -150,6 +151,7 @@ def test_table_properties_dict(catalog: Catalog) -> None:
assert table.properties == DEFAULT_PROPERTIES

table = table.transaction().set_properties({"abc": 123}).commit_transaction()
# properties are stored as strings in the iceberg spec
assert table.properties == dict({"abc": "123"}, **DEFAULT_PROPERTIES)

with pytest.raises(ValidationError) as exc_info:
Expand Down

0 comments on commit bda7fdb

Please sign in to comment.