singhpk234 commented on code in PR #1515: URL: https://github.com/apache/polaris/pull/1515#discussion_r2073790212
########## 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: yes, MariaDB and MySQL should be able to supported, easily this effort mostly added PGSQL, we don't use any PGSQL sepecific feature during query construction, we just need the bootstrap script and the error code handling, ------ Sure thing let me document that ! -- 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