Apache Iceberg version
1.5.2
Query engine
None
Please describe the bug 🐞
The table schema: a, b, c, with the schemaId 0. Column a is selected as the partition column to obtain PartitionSpec1. Then, the partition information on column a is deleted to obtain PartitionSpec2, followed by the deletion of column a, resulting in schemaId1. When retrieving PartitionSpec1 again, it is found that its schemaId is 1, whereas theoretically, the schemaId should remain 0.
Willingness to contribute
Apache Iceberg version
1.5.2
Query engine
None
Please describe the bug 🐞
The table schema: a, b, c, with the schemaId 0. Column a is selected as the partition column to obtain PartitionSpec1. Then, the partition information on column a is deleted to obtain PartitionSpec2, followed by the deletion of column a, resulting in schemaId1. When retrieving PartitionSpec1 again, it is found that its schemaId is 1, whereas theoretically, the schemaId should remain 0.
Willingness to contribute