private Map<String, String> constructProperties(PrimaryKeySpec primaryKeySpec, TableMeta meta) {
    Map<String, String> parameters = new HashMap<>();
    parameters.put(HiveTableProperties.MIXED_TABLE_FLAG, "true");
    parameters.put(HiveTableProperties.MIXED_TABLE_PRIMARY_KEYS, primaryKeySpec.description());
    parameters.put(
        HiveTableProperties.MIXED_TABLE_ROOT_LOCATION,
        meta.getLocations().get(MetaTableProperties.LOCATION_KEY_TABLE));
    return parameters;
  }
we check the privilege by calling existing method, the method will throw the
UncheckedIOException Exception
amoro-format-mixed/amoro-mixed-hive/src/main/java/org/apache/amoro/hive/catalog/MixedHiveTables.java