@Override
  public void getMetaSummary(Table table, MetadataTableSummary summary) {
    Map<String, String> properties = table.properties();
    retrievers.forEach(propertyRetriever ->
        propertyRetriever.getMetaSummary(properties, summary));
    TableMetadata metadata = ((BaseTable) table).operations().current();
    assert metadata != null;
    int version = metadata.formatVersion();
    String wapEnabled = properties.getOrDefault(WRITE_WAP_PROPERTY, "false");
    summary.addExtra(new SummaryMapBuilder().add(VERSION, version).add(WRITE_WAP_PROPERTY, wapEnabled));
  }
Collect the summary based on the table's properties.
It could be the version, write mode or compression, etc.
iceberg/iceberg-handler/src/main/java/org/apache/iceberg/metasummary/TablePropertySummary.java