You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/10/17 12:30:32 UTC

[GitHub] [iceberg] pvary commented on a diff in pull request #5763: Core, Hive-metastore: Table owner can be incorrect in HMS

pvary commented on code in PR #5763:
URL: https://github.com/apache/iceberg/pull/5763#discussion_r996999861


##########
hive-metastore/src/test/java/org/apache/iceberg/hive/TestHiveCatalog.java:
##########
@@ -247,12 +241,29 @@ public void testReplaceTxnBuilder() throws Exception {
     }
   }
 
+  @Test
+  public void testCreateTableWithOwner() throws Exception {
+    Schema schema = getTestSchema();
+    PartitionSpec spec = PartitionSpec.builderFor(schema).bucket("data", 16).build();
+    TableIdentifier tableIdent = TableIdentifier.of(DB_NAME, "tbl");
+    String location = temp.newFolder("tbl").toString();
+    String owner = "some_owner";
+    ImmutableMap<String, String> properties =

Review Comment:
   Does this also write the username to the HMS table property list?
   Is this what we expect?



-- 
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-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org