protected TableMetadata tableMetadata(
        Schema schema,
        PartitionSpec spec,
        SortOrder order,
        Map<String, String> properties,
        String location) {
      Preconditions.checkNotNull(schema, "A table schema is required");

      Map<String, String> tableProps = properties == null ? ImmutableMap.of() : properties;
      PartitionSpec partitionSpec = spec == null ? PartitionSpec.unpartitioned() : spec;
      SortOrder sortOrder = order == null ? SortOrder.unsorted() : order;
      return TableMetadata.newTableMetadata(schema, partitionSpec, sortOrder, location, tableProps);
    }
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