wuwenchi opened a new issue, #4562:
URL: https://github.com/apache/iceberg/issues/4562
A iceberg table which doesn't have primary key, it supports alter table's
properties.
A iceberg table which has primary key, it will cause
`UnsupportedOperationException: Altering schema is not supported yet` ...
```
Flink SQL> create table nopk(id int);
[INFO] Execute statement succeed.
Flink SQL> alter table nopk set ('ab'='cd');
[INFO] Execute statement succeed.
Flink SQL> create table withpk(id int, primary key (id) not enforced);
[INFO] Execute statement succeed.
Flink SQL> alter table withpk set ('ab'='cd');
[ERROR] Could not execute SQL statement. Reason:
java.lang.UnsupportedOperationException: Altering schema is not supported
yet.
```
#4561
--
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]