rdblue commented on code in PR #6324: URL: https://github.com/apache/iceberg/pull/6324#discussion_r1051690326
########## hive-metastore/src/main/java/org/apache/iceberg/hive/HiveTableOperations.java: ########## @@ -422,11 +425,23 @@ private Table newHmsTable(TableMetadata metadata) { Preconditions.checkNotNull(metadata, "'metadata' parameter can't be null"); final long currentTimeMillis = System.currentTimeMillis(); + String owner = metadata.properties().get(HiveCatalog.HMS_TABLE_OWNER); + if (owner == null) { + try { Review Comment: Since this is used in two places, can you make it a static method in a Hadoop util class? -- 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