Repository navigation
[AMORO-4497][Docs] Show how to run the Quickstart SQL in Terminal - #4528
hutiefang76 wants to merge 2 commits into
Conversation
klion26
left a comment
There was a problem hiding this comment.
@hutiefang76 Thanks for the improvements!, left a inline comment, please let me know what do you think about it.
|
|
||
| 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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
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
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.userwas 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
AI assistance: DeepSeek and OpenAI Codex assisted with drafting and review. The Terminal and Hugo checks ran locally.