public static boolean isIcebergTable(Map<String, String> params) {
    return HiveMetaHook.ICEBERG.equalsIgnoreCase(params.get(HiveMetaHook.TABLE_TYPE));
  }
Determines whether a table is an external table.

@param table table of interest

@return true if external
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreUtils.java