huan233usc commented on issue #11762:
URL: https://github.com/apache/iceberg/issues/11762#issuecomment-2608847755

   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
       } ]
     } ],
   
   Let me see if I could fix it.


-- 
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

Reply via email to