Skip to content

Commit aa881ca

Browse files
committed
Address review feedback
1 parent 13a751b commit aa881ca

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

helm/polaris/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ A Helm chart for Apache Polaris (incubating).
4848

4949
### Optional
5050

51-
When using EclipseLink backed metastore a custom `persistence.xml`, a Kubernetes Secret must be created for it. Below is a sample command:
51+
When using EclipseLink backed metastore a custom `persistence.xml` is required, a Kubernetes Secret must be created for it. Below is a sample command:
5252
```bash
5353
kubectl create secret generic polaris-secret -n polaris --from-file=persistence.xml
5454
```

site/content/in-dev/unreleased/admin-tool.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ used by the Polaris server.
7979
See the [metastore documentation]({{% ref "metastores" %}}) for more information on configuring the
8080
database connection.
8181

82+
Note: Polaris will always create schema 'polaris_schema' during bootstrap under the configured database.
83+
8284
## Bootstrapping Realms and Principal Credentials
8385

8486
The `bootstrap` command is used to bootstrap realms and create the necessary principal credentials

site/content/in-dev/unreleased/metastores.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,25 +33,23 @@ In order to add other JDBC drivers, you have to build Polaris using the `eclipse
3333
## Polaris Server Configuration
3434

3535
### Relational JDBC
36-
Configure the `polaris.persistence` section in your Polaris configuration file
37-
(`application.properties`) as follows:
36+
This implementation leverages Quarkus for datasource management and supports configuration through
37+
environment variables or JVM -D flags at startup. For more information, refer to the [Quarkus configuration reference](https://quarkus.io/guides/config-reference#env-file).
3838

39-
```
40-
polaris.persistence.type=relational-jdbc
4139

42-
quarkus.datasource.db-kind=postgresql
43-
quarkus.datasource.username=<your username>
44-
quarkus.datasource.password=<your password>
40+
```
41+
POLARIS_PERSISTENCE_TYPE=relational-jdbc
4542
46-
quarkus.datasource.jdbc.url=jdbc:postgresql://localhost:5432/<database_name>
43+
QUARKUS_DATASOURCE_DB_KIND=postgresql
44+
QUARKUS_DATASOURCE_USERNAME=<your-username>
45+
QUARKUS_DATASOURCE_PASSWORD=<your-password>
46+
QUARKUS_DATASOURCE_JDBC_URL=<jdbc-url-of-postgres>
4747
```
4848

49-
The relational JDBC metastore currently relies on a Quarkus-managed datasource and supports only Postgres and H2—similar to EclipseLink. However, we only provide documentation for using it with Postgres. In future releases of Apache Polaris, we plan to extend support to additional RDBMS datasources such as MySQL and MariaDB. These are not currently supported due to differences in schema requirements and error handling conventions.
49+
The Relational JDBC metastore currently relies on a Quarkus-managed datasource and supports only PostgreSQL and H2 databases. This limitation is similar to that of EclipseLink, primarily due to underlying schema differences. At this time, official documentation is provided exclusively for usage with PostgreSQL.
5050
Please refer to the documentation here:
5151
[Configure data sources in Quarkus](https://quarkus.io/guides/datasource)
5252

53-
Note: Polaris will always create schema 'polaris_schema' during bootstrap under the configured database.
54-
5553
### EclipseLink
5654
> [!IMPORTANT] Eclipse link is deprecated, its recommend to use Relational JDBC as persistence instead.
5755

0 commit comments

Comments
 (0)