Skip to content

[AMORO-4497][Docs] Explain snapshot history and file changes - #4552

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

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

Conversation

@hutiefang76

Copy link
Copy Markdown
Contributor

Why are the changes needed?

Related to #4497. The table guide mentions snapshot filtering but gives no steps for choosing a ref, inspecting a commit's file changes, or returning to history.

Brief change log

  • Add an Iceberg Snapshots walkthrough covering branches/tags, operation filters, snapshot totals, and Charts.
  • Explain file changes and the All breadcrumb, including the reset to main/all when returning.
  • Add two consistent English screenshots of the history and file details. No Java or frontend behavior changes.

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 the frontend and AMS from 3a9d4e7 with JDK 17 on macOS ARM64 using mvn -pl amoro-ams -am package -DskipTests. This prepares the native runtime; it does not claim execution of the Java test suite.

In an isolated AMS with a real Iceberg v2 table, created two one-row Parquet files in separate append snapshots and read back both rows. The main history contains two snapshots; an existing branch and tag pointing to the first each contain one. Checked optimizing/non-optimizing filters (zero/two results), the selected snapshot's added file, and return to main/all. The Charts control was also exercised. No optimizer process or optimizing commit was run.

Both unedited screenshots are 1728×928 and show the 1.0.0-SNAPSHOT(3a9d4e7) runtime. Hugo Extended 0.169.0 built both sites. The new section and images were served locally; both image hashes match the sources. Checked 99 references within the current local build. Six existing historical-version menu targets were not built locally; external links were not revalidated. Existing Hugo warnings remain. git diff --check passed.

Documentation

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

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.

1 participant