pvary commented on code in PR #8907: URL: https://github.com/apache/iceberg/pull/8907#discussion_r1419654637
########## hive-metastore/src/main/java/org/apache/iceberg/hive/HiveCatalog.java: ########## @@ -264,6 +269,162 @@ public void renameTable(TableIdentifier from, TableIdentifier originalTo) { } } + @Override + public boolean viewExists(TableIdentifier identifier) { + return HiveCatalogUtil.isTableWithTypeExists(clients, identifier, TableType.VIRTUAL_VIEW); Review Comment: I think using VIRTUAL_VIEW is more Hiveish solution, but I see the merits of using the already existing Iceberg property key with different value. Since the original check already does an exact matching for 'iceberg', adding a new value would only cause issues for users who do their own filtering without the Iceberg code. So I do not have a strong opinion, we can use Ryan's suggestion to move forward. -- 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