@Override
  public Optional<Object> getInfo(ConnectorTableHandle tableHandle) {
    IcebergTableHandle icebergTableHandle = (IcebergTableHandle) tableHandle;
    Optional<Boolean> partitioned =
        icebergTableHandle
            .getPartitionSpecJson()
            .map(
                partitionSpecJson ->
                    PartitionSpecParser.fromJson(
                            SchemaParser.fromJson(icebergTableHandle.getTableSchemaJson()),
                            partitionSpecJson)
                        .isPartitioned());

    return Optional.of(
        new IcebergInputInfo(
            icebergTableHandle.getSnapshotId(),
            partitioned,
            getFileFormat(icebergTableHandle.getStorageProperties()).name()));
  }
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