[ 
https://issues.apache.org/jira/browse/HIVE-28015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17809983#comment-17809983
 ] 

Butao Zhang commented on HIVE-28015:
------------------------------------

Got it! Thx. I will explore implementing this by Hive primary key syntax.

> Iceberg: Add identifier-field-ids support in Hive
> -------------------------------------------------
>
>                 Key: HIVE-28015
>                 URL: https://issues.apache.org/jira/browse/HIVE-28015
>             Project: Hive
>          Issue Type: Improvement
>          Components: Iceberg integration
>    Affects Versions: 4.0.0
>            Reporter: Denys Kuzmenko
>            Assignee: Butao Zhang
>            Priority: Major
>
> 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:
> {code:java}
> create table ice_pk (i int, j int, primary key(i)) stored by iceberg;
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to