Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-28136

Iceberg: Add support for altering PK

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      1. Allow schema evolution affecting identifier-field-ids (e.g. rename or drop a column that is also a PK)
      2. Allow changing the identifier-field-ids once the table is created (e.g. add or remove a column to the PK)

      Hive already supports those commands, we just need to update `identifier-field-ids`

      alter table tbl_ice add constraint pk1 primary key (a) disable novalidate rely;
      alter table tbl_ice drop constraint pk1;
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dkuzmenko Denys Kuzmenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: