simhadri-g commented on code in PR #5293: URL: https://github.com/apache/hive/pull/5293#discussion_r1637846954
########## ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java: ########## @@ -5860,6 +5860,16 @@ private HiveStorageHandler createStorageHandler(org.apache.hadoop.hive.metastore } } + private static String getStorageHandlerClassName(org.apache.hadoop.hive.metastore.api.Table tbl) { + String tableType = tbl.getParameters().get(HiveMetaHook.TABLE_TYPE); + String metaTableStorage = tbl.getParameters().get(META_TABLE_STORAGE); + if (HiveMetaHook.ICEBERG.equalsIgnoreCase(tableType) && metaTableStorage == null) { + return "org.apache.iceberg.mr.hive.HiveIcebergStorageHandler"; Review Comment: Same here: `StorageFormat.StorageHandlerTypes.ICEBERG.className()` ? -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org