Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ Apache Polaris is built using Gradle with Java 21+ and Docker 27+.
- `./gradlew run` - To run the Polaris server locally; the server is reachable at
localhost:8181. This is also suitable for running regression tests, or for connecting with Spark.
- `./regtests/run_spark_sql.sh` - To connect from Spark SQL. Here are some example commands to run in the Spark SQL shell:
- Set your own credentials using the environment variable `export POLARIS_BOOTSTRAP_CREDENTIALS=POLARIS,root,s3cr3t` where:
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it might be best to disambiguate by saying If you start Polaris as a direct java process with in-memory storage, set you own credentials ...?

Copy link
Contributor

Choose a reason for hiding this comment

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

I assume this is only for ./gradlew run. Can we move it under that bullet point so it's clear this environment variable (POLARIS_BOOTSTRAP_CREDENTIALS) is specifically for running Polaris locally via the Gradle task?

- `POLARIS` is the realm
- `root` is the CLIENT_ID
- `s3cr3t` is the CLIENT_SECRET
```sql
create database db1;
show databases;
Expand Down