Skip to content

Commit bda7fdb

Browse files
committed
add comment
1 parent 73e8e12 commit bda7fdb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/integration/test_reads.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ def test_table_properties(catalog: Catalog) -> None:
121121
assert table.properties == DEFAULT_PROPERTIES
122122

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

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

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

155157
with pytest.raises(ValidationError) as exc_info:

0 commit comments

Comments
 (0)