Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.0.0
Description
Some writer engines require primary keys on a table so that they can use them for writing equality deletes (only the PK cols are written to the eq-delete files).
Hive currently doesn't reject setting PKs for Iceberg tables, however, it just ignores them. This succeeds:
create table ice_pk (i int, j int, primary key(i) disable novalidate) stored by iceberg;
Attachments
Issue Links
- is related to
-
HIVE-28136 Iceberg: Add support for altering PK
- Open
- links to