madeirak commented on issue #11762: URL: https://github.com/apache/iceberg/issues/11762#issuecomment-2608982066
> It seems that the on rename column, if the column is partition column, its name is not updated. metadata file from my local testing -> "schemas" : [ { "type" : "struct", "schema-id" : 0, "fields" : [ { "id" : 1, "name" : "id", "required" : false, "type" : "int", "doc" : "11" }, { "id" : 2, "name" : "name", "required" : false, "type" : "string", "doc" : "" } ] }, { "type" : "struct", "schema-id" : 1, "fields" : [ { "id" : 1, "name" : "id", "required" : false, "type" : "int", "doc" : "11" }, { "id" : 2, "name" : "name1", "required" : false, "type" : "string", "doc" : "" } ] } ], "default-spec-id" : 0, "partition-specs" : [ { "spec-id" : 0, "fields" : [ { "name" : "name", "transform" : "identity", "source-id" : 2, "field-id" : 1000 } ] } ], > > Or should it be updated? I think this is because the directory of the underlying data file contains the partition key name, but I think it should be blocked at the renaming or deletion step of old partition key with data, rather than being discovered later. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org