File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments