We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 255e527 commit 19fbf98Copy full SHA for 19fbf98
tests/table/test_init.py
@@ -1206,3 +1206,10 @@ def test_update_metadata_log_overflow(table_v2: Table) -> None:
1206
table_v2.metadata_location,
1207
)
1208
assert len(new_metadata.metadata_log) == 1
1209
+
1210
1211
+def test_table_update_have_corresponding_dispatch() -> None:
1212
+ from pyiceberg.table import TableUpdate, _apply_table_update
1213
+ # every TableUpdate should have a corresponding `_apply_table_update` dispatch function
1214
1215
+ assert len(_apply_table_update.registry) == len(TableUpdate.__origin__.__args__) # type: ignore
0 commit comments