iceberg-python
iceberg-python copied to clipboard
Block schema field drop if it is reference by an active partition or sort field
Closes #2166
Rationale for this change
We should block when an user wants to drop a column if that column is being referenced by either a partition spec or sort order field.
Are these changes tested?
Yes, I added unit tests for every incompatible schema change in partitions and sort orders. Also added two new integration tests in test_catalog to test for this scenario
Are there any user-facing changes?
No