Skip to content

[AMORO-4497][Docs] Show how to run the Quickstart SQL in Terminal - #4528

Open
hutiefang76 wants to merge 2 commits into
apache:masterfrom
hutiefang76:frank/docs-amoro4497-quickstart-terminal-20261122
Open

hutiefang76 wants to merge 2 commits into
apache:masterfrom
hutiefang76:frank/docs-amoro4497-quickstart-terminal-20261122

Conversation

@hutiefang76

Copy link
Copy Markdown
Contributor

Why are the changes needed?

Related to #4497.

Terminal can open with a different catalog selected when several catalogs exist. The Quickstart should tell readers to choose the demo catalog before running its SQL example and show where the query result appears.

Brief change log

  • Document the Use dropdown, the Run control, and the result tab for the final query.
  • Show the three expected rows with an English screenshot from a local Iceberg run.

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

  • Ran the existing Iceberg and Mixed-Iceberg SQL examples in an isolated AMS Terminal using Spark. Both returned all three rows. Checked that Iceberg db.user was created in the selected catalog and that the separate starting catalog remained empty.

  • Selected one SQL statement in the editor and confirmed that only it executed.

  • Built both Hugo sites and checked the Quickstart section and screenshot over local HTTP. The documentation edits apply cleanly alongside [AMORO-4497][Docs] Document Quickstart optimizer setup #4522.

Documentation

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

AI assistance: DeepSeek and OpenAI Codex assisted with drafting and review. The Terminal and Hugo checks ran locally.

@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!, left a inline comment, please let me know what do you think about it.

Comment thread site/amoro-site/content/quick-start.md Outdated

Click on `Terminal` in the sidebar, you can create the test tables here using SQL. Terminal supports executing Spark SQL statements for now.
Open **Terminal** in the sidebar. In the **Use** dropdown above the SQL
editor, select `demo_catalog`. Copy the Spark SQL example that matches the

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.

In the Use dropdown above the SQL editor, select the catalog you created earlier (demo_catalog in this guide). If you are using an existing environment, select your target catalog instead

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Updated in 4d48a66. The Use instruction now refers to the catalog created earlier (demo_catalog in this guide) and tells readers using an existing environment to select their target catalog. This is a wording-only update; the SQL examples and screenshot are unchanged. git diff --check passes. I did not rerun the site build for this follow-up.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants