Support `replace_table` and `replace_table_transaction` for REST catalog by smaheshwar-pltr · Pull Request #3220 · apache/iceberg-python

Rationale for this change

Addresses #281 but currently just for REST catalogs.

Similar to create_table and create_table_transaction on the catalog API, we introduce the same for table replaces, to achieve parity with Iceberg Java that supports this.

Notably, replace_table_transaction supports RTAS workflows, just like create_table_transaction supports CTAS ones.

Are these changes tested?

Are there any user-facing changes?