@Override
  public TableScan newScan() {
    return new PartitionsScan(table());
  }
A {@link Table} implementation that exposes a table's partitions as rows.
iceberg/patched-iceberg-core/src/main/java/org/apache/iceberg/PartitionsTable.java