databricks-catalog

--databricks-catalog is a global parameter for the Liquibase Pro Databricks extension. It specifies the catalog for Liquibase to use with Databricks. If used, it overrides URL values for OIDC connections.

This parameter is exposed in Liquibase logs.

It is available in the Liquibase Pro Databricks extension 1.0.0 and later.

Uses

You can use --databricks-schema as an alternative to specifying your schema directly in your Databricks connection URL.

If you don't specify --databricks-schema, you must specify your schema in your connection URL. For example:

jdbc:databricks://<server_hostname>:443;ConnCatalog=<catalog_name>

Syntax

You can set this parameter in the following ways:

Option Syntax
Liquibase properties file (defaults file)
liquibase.databricks.catalog: <string>
Global flow file argument (example)
stages:
  Default:
    actions:
      - type: liquibase
        command: update
        globalArgs: { databricks-catalog: "<string>" }
Global CLI parameter
liquibase
 --databricks-catalog=<string> update
 --changelog-file=example-changelog.xml

JVM system property (JAVA_OPTS Environment Variable)

Unix:

JAVA_OPTS=-Dliquibase.databricks.catalog=<string>

Windows:

JAVA_OPTS=-D"liquibase.databricks.catalog"=<string>
Liquibase Environment Variables
LIQUIBASE_DATABRICKS_CATALOG=<string>

For more information, see Working with Command Parameters.

Related links