Skip to content

[AMORO-4497][Docs] Explain current table files and partitions - #4556

Open
hutiefang76 wants to merge 1 commit into
apache:masterfrom
hutiefang76:frank/docs-amoro4497-files-guide-20261128
Open

hutiefang76 wants to merge 1 commit into
apache:masterfrom
hutiefang76:frank/docs-amoro4497-files-guide-20261128

Conversation

@hutiefang76

Copy link
Copy Markdown
Contributor

Why are the changes needed?

Related to #4497. The Using Tables guide lists the Files tab but gives no steps for finding a partition, opening its current files, or returning to the filtered partition list.

Brief change log

  • Add an Iceberg Files walkthrough covering partition filtering, file columns, pagination, the All breadcrumb, and unpartitioned tables.
  • Add two unedited English screenshots at 1728 × 928. The file-list image shows page two of 26 files at 25 files per page.

How was this patch tested?

  • Add some test cases that check the changes thoroughly including negative and positive cases if possible

  • Add screenshots for manual tests if appropriate

  • Run test locally before making a pull request

  • Built and ran an isolated AMS and frontend from 3a9d4e7 (1.0.0-SNAPSHOT). Created real Iceberg v2 tables with 28 one-row Parquet files across two partitions (26 + 2), plus an unpartitioned table with two files. Read back the data and checked distinct IDs, partition values, and file counts.

  • In the browser, checked matching and empty partition searches, clearing the filter, opening a partition, 25 + 1 distinct file pages, changing the page size to 50, and returning with All. The partition filter is retained on return. The unpartitioned table opens the file list directly.

  • Built both sites with Hugo Extended 0.169.0. Verified the generated section, 85 current local links/anchors/images, and exact PNG bytes over local HTTP; both images loaded at the correct aspect ratio in the rendered guide. Six links to release versions not built locally and nine external/mail links were excluded.

  • Confirmed clean pairwise merge previews with [AMORO-4497][Docs] Document cleanup and profiling history #4521, [AMORO-4497][Docs] Explain WebUI optimizing views #4525, [AMORO-4497][Docs] Explain the WebUI Details tab #4527, and [AMORO-4497][Docs] Explain snapshot history and file changes #4552; those combined trees were not built.

No Java unit tests were added or run for this documentation-only change. The local AMS package build used JDK 17 (compiler target 17) and skipped its Java tests.

Documentation

  • Does this pull request introduce a new feature? No.
  • If yes, how is the feature documented? Not applicable.

@github-actions github-actions Bot added the type:docs Improvements or additions to documentation label Nov 28, 2026

@klion26 klion26 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hutiefang76 Thanks for the improvements, the change looks good to me.

I have a suggestion for the English wording below. However, I’m not a native English speaker either, so please use your own judgment on whether to incorporate it.


## Browse current table files

Open **Tables** and select an Iceberg table, then go to the **Files** tab. For partitioned tables, the Files tab first shows a partition list with columns **Partition**, **File Count**, **Size**, and **Last Commit Time**.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Open Tables, select an Iceberg table, and then open the Files tab. For a partitioned table, the tab first displays a list of partitions.

  • To find a partition, enter a case-sensitive substring in Filter partitions and press Enter. Return to the first page before filtering. Click the clear icon to remove the filter.
  • Click a partition name to view its current files. Click All to return to the partition list; the filter remains applied.
  • Use the pagination controls to navigate between pages or change the page size.

For an unpartitioned Iceberg table, the Files tab displays the current files directly, without a partition filter or an All breadcrumb.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:docs Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants