Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-11429

Newly created Iceberg tables are owned by the user of the CatalogD process

    XMLWordPrintableJSON

Details

    • ghx-label-5

    Description

      Repro:

      > impala-shell.sh -u johndoe
      impala-shell> create table ice_t (i int) stored as iceberg;
      impala-shell> describe formatted ice_t;
      ...
      | Owner:                       | impala                                     |
      ...
      

      The owner should be the user executing the query.

      Unfortunately Iceberg doesn't allow us setting the owner of the table. It uses the system-wide property "user.name" to set the owner:
      https://github.com/apache/iceberg/blob/51a9702367e22aff635ae05f2a313a19c3ba2fb8/hive-metastore/src/main/java/org/apache/iceberg/hive/HiveTableOperations.java#L347

      We might need Iceberg-side modifications as well to specify the owner. Alternatively we could add an exter alter_table() RPC to change the owner.

      Attachments

        Activity

          People

            gaborkaszab Gabor Kaszab
            boroknagyz Zoltán Borók-Nagy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: