@Override
  public ConnectorTableMetadata getTableMetadata(
      ConnectorSession session, ConnectorTableHandle table) {
    IcebergTableHandle tableHandle = (IcebergTableHandle) table;
    Table icebergTable = loadTable(session, tableHandle.getSchemaTableName());
    List<ColumnMetadata> columns =
        getColumnMetadatas(SchemaParser.fromJson(tableHandle.getTableSchemaJson()));
    ImmutableMap.Builder<String, Object> properties = ImmutableMap.builder();
    properties.put(FILE_FORMAT_PROPERTY, getFileFormat(icebergTable));
    if (!icebergTable.spec().fields().isEmpty()) {
      properties.put(PARTITIONING_PROPERTY, toPartitionFields(icebergTable.spec()));
    }

    //        if (!icebergTable.location().isEmpty()) {
    //            properties.put(LOCATION_PROPERTY, icebergTable.location());
    //        }

    int formatVersion = ((HasTableOperations) icebergTable).operations().current().formatVersion();
    properties.put(FORMAT_VERSION_PROPERTY, formatVersion);

    return new ConnectorTableMetadata(
        tableHandle.getSchemaTableName(),
        columns,
        properties.buildOrThrow(),
        getTableComment(icebergTable));
  }
Iceberg original metadata has some problems for mixed-format table, such as iceberg version,
table type. So copy from IcebergMetadata and made some change
amoro-format-mixed/amoro-mixed-trino/src/main/java/org/apache/amoro/trino/unkeyed/IcebergMetadata.java