dimas-b commented on code in PR #1515: URL: https://github.com/apache/polaris/pull/1515#discussion_r2073513324
########## site/content/in-dev/unreleased/metastores.md: ########## @@ -32,6 +32,29 @@ In order to add other JDBC drivers, you have to build Polaris using the `eclipse ## Polaris Server Configuration +#### Relational JDBC +Configure the `polaris.persistence` section in your Polaris configuration file +(`application.properties`) as follows: + +``` +polaris.persistence.type=relational-jdbc + +quarkus.datasource.db-kind=postgresql +quarkus.datasource.username=<your username> +quarkus.datasource.password=<your password> + +quarkus.datasource.jdbc.url=jdbc:postgresql://localhost:5432/<database_name> +``` + +The relational JDBC metastore is a Quarkus-managed datasource and only supports Postgres and H2 as of now. +Please refer to the documentation here: +[Configure data sources in Quarkus](https://quarkus.io/guides/datasource) + +Note: Polaris will always create schema 'polaris_schema' during bootstrap under the configured database. + Review Comment: It should be possible to support other RDBMS (e.g. MariaDB and MySQL by extension) with small additional effort, I think. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@polaris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org