protected String getDatabaseLocation() {
      if (catalogProperties != null) {
        String catalogWarehouse =
            catalogProperties.getOrDefault(CatalogMetaProperties.KEY_WAREHOUSE, null);
        if (catalogWarehouse == null) {
          catalogWarehouse =
              catalogProperties.getOrDefault(CatalogMetaProperties.KEY_WAREHOUSE_DIR, null);
        }
        if (catalogWarehouse == null) {
          throw new NullPointerException("Catalog warehouse is null.");
        }
        if (!Objects.equals("/", catalogWarehouse) && catalogWarehouse.endsWith("/")) {
          catalogWarehouse = catalogWarehouse.substring(0, catalogWarehouse.length() - 1);
        }
        if (StringUtils.isNotBlank(catalogWarehouse)) {
          return catalogWarehouse + '/' + identifier.getDatabase();
        }
      }
      return null;
    }
Basic {@link MixedFormatCatalog} implementation. This class is deprecated, using {@link
InternalMixedIcebergCatalog} instead.

@deprecated since 0.7.0, will be removed in 0.9.0;
amoro-format-iceberg/src/test/java/org/apache/amoro/catalog/BasicMixedCatalog.java