haizhou-zhao commented on code in PR #6045: URL: https://github.com/apache/iceberg/pull/6045#discussion_r1005080607
########## hive-metastore/src/test/java/org/apache/iceberg/hive/TestHiveCatalog.java: ########## @@ -270,9 +275,34 @@ public void testCreateTableWithOwner() throws Exception { Assert.assertEquals(owner, hmsTable.getOwner()); Map<String, String> hmsTableParams = hmsTable.getParameters(); Assert.assertFalse(hmsTableParams.containsKey(TableProperties.HMS_TABLE_OWNER)); + Assert.assertEquals( + PrincipalType.USER.name(), hmsTableParams.get(TableProperties.HMS_TABLE_OWNER_TYPE)); } finally { catalog.dropTable(tableIdent); } + + TableIdentifier tableIdent2 = TableIdentifier.of(DB_NAME, "tbl_group_owned"); Review Comment: Yes, good idea. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org