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

Support ALTER TABLE SET OWNER command

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: Metastore
    • Labels:
      None

      Description

      Currently only a user can be a owner of hive table. It should be extended so that either user/role can be set a owner of a table.

      With this support ownership of a table can be transferred to either user or role.

      Should be able to run below commands and change the ownership

      alter table tb1 set owner user user1;
      alter table tb1 set owner role role1;

       

        Attachments

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

              • Assignee:
                spena Sergio Peña
                Reporter:
                kkalyan Krishna Kalyan
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: