@Test
  public void testAlterKeyTable() throws Exception {
    sql(
        "CREATE TABLE "
            + catalogName
            + "."
            + DB
            + "."
            + TABLE
            + " ("
            + " id INT,"
            + " name STRING,"
            + " t TIMESTAMP,"
            + " PRIMARY KEY (id) NOT ENFORCED "
            + ") PARTITIONED BY(t) ");
    sql(
        "ALTER TABLE "
            + catalogName
            + "."
            + DB
            + "."
            + TABLE
            + " "
            + "SET ( 'self-optimizing.group' = 'flink')");
    sql(
        "ALTER TABLE "
            + catalogName
            + "."
            + DB
            + "."
            + TABLE
            + " "
            + "SET ( 'self-optimizing.enabled' = 'true')");

    sql(
        "ALTER TABLE "
            + catalogName
            + "."
            + DB
            + "."
            + TABLE
            + " "
            + "SET ( 'write.upsert.enabled' = 'true')");

    Map<String, String> keyTableProperties =
        getMixedFormatCatalog().loadTable(TableIdentifier.of(catalogName, DB, TABLE)).properties();
    Assert.assertEquals(keyTableProperties.get("self-optimizing.enabled"), "true");
    Assert.assertEquals(keyTableProperties.get("self-optimizing.group"), "flink");
    Assert.assertEquals(keyTableProperties.get("write.upsert.enabled"), "true");
  }
Test cases for mixed catalog factories, including:
CatalogFactoryOptions.MIXED_ICEBERG_IDENTIFIER, CatalogFactoryOptions.MIXED_HIVE_IDENTIFIER,
CatalogFactoryOptions.LEGACY_MIXED_IDENTIFIER
amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/src/test/java/org/apache/amoro/flink/catalog/TestMixedCatalog.java