public MixedTable loadTableByMeta(TableMeta tableMeta) {
    if (tableMeta.getKeySpec() != null
        && tableMeta.getKeySpec().getFields() != null
        && tableMeta.getKeySpec().getFields().size() > 0) {
      return loadKeyedTable(tableMeta);
    } else {
      return loadUnKeyedTable(tableMeta);
    }
  }
TODO: this class will be removed when we support using restCatalog as base store for
InternalCatalog
amoro-format-iceberg/src/test/java/org/apache/amoro/catalog/MixedTables.java