You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polaris.apache.org by yu...@apache.org on 2024/09/16 19:05:17 UTC

(polaris) branch main updated: [Follow up] Trino getting started docker compose (#302)

This is an automated email from the ASF dual-hosted git repository.

yufei pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git


The following commit(s) were added to refs/heads/main by this push:
     new a8a1f6c1 [Follow up] Trino getting started docker compose (#302)
a8a1f6c1 is described below

commit a8a1f6c137ad8a1863ceab6ba786369025148807
Author: Kevin Liu <ke...@users.noreply.github.com>
AuthorDate: Mon Sep 16 12:05:12 2024 -0700

    [Follow up] Trino getting started docker compose (#302)
---
 getting-started/trino/README.md                          | 16 ++++++++--------
 .../{docker-compose-trino.yml => docker-compose.yml}     |  0
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/getting-started/trino/README.md b/getting-started/trino/README.md
index 91031340..c4f99b08 100644
--- a/getting-started/trino/README.md
+++ b/getting-started/trino/README.md
@@ -19,20 +19,20 @@
 
 # Getting Started with Trino and Apache Polaris
 
-This getting started guide provides a docker-compose file to set up [Trino](https://trino.io/) with Apache Polaris. Apache Polaris is configured as an Iceberg REST Catalog in Trino. 
+This getting started guide provides a `docker-compose` file to set up [Trino](https://trino.io/) with Apache Polaris. Apache Polaris is configured as an Iceberg REST Catalog in Trino. 
 
-## Run the docker-compose file
-To start the docker-compose file, run this command from the repo's root directory:
+## Run the `docker-compose` file
+To start the `docker-compose` file, run this command from the repo's root directory:
 ```
-docker-compose -f getting-started/trino/docker-compose-trino.yml up 
+docker-compose -f getting-started/trino/docker-compose.yml up 
 ```
 
-## Run Trino queries via Trino ClI
-To access the Trino CLI, run this command
+## Run Trino queries via Trino CLI
+To access the Trino CLI, run this command:
 ```
 docker exec -it trino-trino-1 trino
 ```
-Note, `trino-trino-1` is the name docker container.
+Note, `trino-trino-1` is the name of the Docker container.
 
 Example Trino queries:
 ```
@@ -47,6 +47,6 @@ SELECT * FROM iceberg.tpch.test_polaris;
 ```
 
 ## Note
-The polaris catalog setup script use the credential `principal:root;realm:default-realm`. This credential is used so users do not need to fetch credentials from Apache Polaris' console output.
+The Polaris catalog setup script uses the credential `principal:root;realm:default-realm`. This credential is used so users do not need to fetch credentials from Apache Polaris' console output.
 
 An example catalog is created in Apache Polaris using the `curl` command. See `create-polaris-catalog.sh` for details.
diff --git a/getting-started/trino/docker-compose-trino.yml b/getting-started/trino/docker-compose.yml
similarity index 100%
rename from getting-started/trino/docker-compose-trino.yml
rename to getting-started/trino/docker-compose.yml