Initial-neko opened a new issue #3521:
URL: https://github.com/apache/iceberg/issues/3521


   when a table has PK, alter table xxx set() will throw ***Altering schema is 
not supported yet*** Exception.
   but I only want to change the properties such as format-version or something 
else
   
   After tracking this comparison code, I found that the table with PK will 
always throw this Exception because a random name field is compared
   
   1.alterTable:CatalogTable table = toCatalogTable(icebergTable);
   2.TableSchema schema = FlinkSchemaUtil.toSchema(table.schema());
   3.builder.primaryKey(columns.toArray(new String[0]));
   4.primaryKey(UUID.randomUUID().toString(), columns);
   
   what? primary generate a random name ,I think it‘s a small bug in iceberg 
FlinkSQL alter table


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to