protected void doCreateCheck() {
      if (primaryKeySpec.primaryKeyExisted()) {
        primaryKeySpec
            .fieldNames()
            .forEach(
                primaryKey -> {
                  if (schema.findField(primaryKey).isOptional()) {
                    throw new IllegalArgumentException(
                        "please check your schema, the primary key nested field must"
                            + " be required and field name is "
                            + primaryKey);
                  }
                });
      }
      listDatabases().stream()
          .filter(d -> d.equals(identifier.getDatabase()))
          .findFirst()
          .orElseThrow(() -> new NoSuchDatabaseException(identifier.getDatabase()));

      checkAmsTableMetadata();
    }
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