Add a Databricks Source Datastore¶
A source datastore is a storage location Qualytics connects to so it can profile, scan, and monitor data. Adding Databricks as a source lets Qualytics query the tables in your workspace through the Databricks JDBC driver and run quality operations on the tables it discovers.
Before you start, copy the Host and Http Path as shown in Get the Connection Details, and get a credential: a token from Generate a Personal Access Token, or a service principal for OAuth M2M (see Authentication). The identity behind it needs the grants in Databricks Permissions.
Field reference¶
The Add Datastore page shows the sections below when Databricks is selected. When reusing an existing connection, the Connection Properties section, with its Secrets Management, Authentication, and Advanced groups, comes already filled in and read-only: Qualytics has already validated those credentials, so you fill in only the Location and the General fields. To change a saved connection's credentials, edit the connection through the Manage Connections page; edits there apply to every datastore that reuses the connection.
Connection Properties¶
These fields define the Databricks endpoint Qualytics connects to, in the order the form shows them. They belong to the connection: when reusing an existing connection, they come already filled in and read-only.
| Field | Required | Type | Description |
|---|---|---|---|
| Connection Name | Text | A label for the saved connection (e.g., acme_databricks_warehouse), so other datastores can reuse it later. |
|
| HashiCorp Vault | Toggle | Sits in the collapsed Secrets Management group, right below Connection Name. Turn it on to pull credentials from a secrets manager instead of typing them into the form; it shows the six fields below. Despite the label, any secrets manager that exposes a compatible REST API works, not only HashiCorp Vault; see HashiCorp Vault. | |
| Login URL | Text | Shown when HashiCorp Vault is on. The full URL of the login endpoint (e.g., https://vault.example.com/v1/auth/approle/login). With Vault namespaces, add the namespace after /v1/, as in /v1/<namespace>/auth/approle/login. |
|
| Credentials Payload | Text | Shown when HashiCorp Vault is on. A JSON body containing the credentials Vault expects (e.g., {"role_id":"...","secret_id":"..."}). |
|
| Token JSONPath | Text | Shown when HashiCorp Vault is on. The JSONPath that extracts the client token from Vault's response. Defaults to $.auth.client_token. |
|
| Secret URL | Text | Shown when HashiCorp Vault is on. The full URL of the secret, including https:// and the host (e.g., https://vault.example.com/v1/secret/data/databricks). With Vault namespaces, add the namespace after /v1/. |
|
| Token Header Name | Text | Shown when HashiCorp Vault is on. The HTTP header name used to send the token. Defaults to X-Vault-Token. |
|
| Data JSONPath | Text | Shown when HashiCorp Vault is on. The JSONPath that extracts the key/value pairs from Vault's response. Use $.data.data for a KV version 2 secret (its API path contains /data/) and $.data for KV version 1 or the database secrets engine. The form pre-fills $.data. |
|
| Host | Text | The workspace hostname (e.g., dbc-a1b2c3d4-e5f6.cloud.databricks.com, or adb-1234567890123456.7.azuredatabricks.net on Azure). Comes already filled in with <host>.cloud.databricks.com; replace the whole value with the Server hostname copied from Databricks, suffix included. See Get the Connection Details. |
|
| Http Path | Text | The HTTP path of the SQL warehouse or cluster Qualytics runs queries on (e.g., sql/protocolv1/o/123456789). |
Note
Once the secrets manager is configured, reference any secret value in the Connection Properties or Authentication fields using ${key} (e.g., ${access_token}). Qualytics resolves the secret at the moment the connection is opened, so changed keys take effect on the next connection. Write the reference with braces (${key}, never $.key) and match the key name's case. Setup steps, the namespace rule, and a troubleshooting page are on the HashiCorp Vault pages.
Authentication¶
Choose how Qualytics authenticates to the workspace. Setting Type changes the credential fields shown below it, so pick the tab that matches your choice. These fields also belong to the connection: already filled in and read-only when reusing one.
| Field | Required | Type | Description |
|---|---|---|---|
| Type | Option | Set to Personal Access Token, which is the default (PAT in the API). |
|
| Personal Access Token | Text | The token Qualytics uses to authenticate. See Generate a Personal Access Token. |
| Field | Required | Type | Description |
|---|---|---|---|
| Type | Option | Set to OAuth M2M (OAUTH_M2M in the API). |
|
| Service Principal Application ID | Text | The application ID of the service principal. | |
| Service Principal OAuth Secret | Text | The OAuth secret generated for that service principal. |
Machine-to-machine authentication suits unattended access, since it is not tied to an individual user account that may be deactivated.
Advanced¶
A collapsed group at the end of Connection Properties, below Authentication. It also belongs to the connection.
| Field | Required | Type | Description |
|---|---|---|---|
| Max Parallelization | Number | Caps how many queries Qualytics runs at the same time against a datastore reached through this connection, from 1 to 100. Leave it empty for no explicit limit. The cap applies per datastore, so datastores sharing this connection each get their own allowance. See Max Parallelization. |
Location¶
Pick the catalog and database(s) Qualytics should read from. You fill these in on both flows.
| Field | Required | Type | Description |
|---|---|---|---|
| Catalog | Option | The catalog Qualytics reads metadata from (e.g., hive_metastore, or a Unity Catalog name). Click the refresh icon to fetch the catalogs visible to the credentials. Omitted through the API, it falls back to hive_metastore. |
|
| Database | Option | One or more databases inside the selected catalog. Each database you pick becomes its own Qualytics datastore. Click the refresh icon to load the available databases. Left empty, Qualytics uses default. |
Multiple databases
Selecting more than one database creates one source datastore per database, named from the Name Template. See Multiple-Schema Creation for details.
General¶
Common fields for every source datastore, shown below the Location section. You fill these in on both flows.
| Field | Required | Type | Description |
|---|---|---|---|
| Name | Text | The name of the new source datastore (e.g., analytics_bronze). Shown unless you select more than one database; then Name Template replaces it. |
|
| Name Template | Text | Shown instead of Name when you select more than one database. Defines the naming pattern for each source datastore being created. Use {{schema}} as a placeholder that gets replaced with the actual database name (e.g., dbx_{{schema}} becomes dbx_sales_curated). Left empty, the datastore is named from the connection name and the database. |
|
| Group | Option | Organizes your datastores under a shared group in the navigation tree. Select an existing group or create a new one with the Add New Group toggle. | |
| Teams | Option | Select one or more teams to associate with this source datastore. | |
| Initiate Sync | Checkbox | Automatically sync the datastore to detect containers and fields after creation. |
Below the form, an information banner lists the Public addresses and Private addresses your datastore connections originate from. Allow the ones that match your network setup through your security groups or firewall rules; see Connection for where the addresses come from.
Steps¶
There are two ways to set up the connection: reuse a connection you already saved (Existing Connection) or create a new one from scratch (New Connection). The tabs below walk through each option; pick the one you want to follow. Each field is described in the Field reference above.
Step 1: Navigate to the Datastores page.
Step 2: Click the Add button at the top-right corner and choose Source .
Step 3: The Add Datastore page opens.
Step 4: Select New Connection next to the Search field.
Step 5: Select Databricks from the connector grid. Use the search field to filter connectors by name.
Step 6: Enter the Connection Name.
Step 7: Optionally, expand Secrets Management and turn on HashiCorp Vault to retrieve credentials from a secrets manager.
Step 8: Fill in the Host and Http Path.
Step 9: Choose the Authentication Type and fill in its credential fields.
Step 10: Optionally, expand Advanced to set Max Parallelization.
Step 11: Fill in the Location fields (Catalog and Database) and the General fields.
Step 12: Click Test connection. A success message confirms that the connection has been verified.
Info
The Finish and Next buttons stay disabled until the connection test passes on the current values. If you change a connection field after a successful test, test again. If the test fails, see Troubleshooting.
Step 13: Click Finish to create the datastore.
Tip
To link a destination so Qualytics can write anomalies and metadata from the first operation, click Next instead of Finish. See Add Enrichment Datastore.
Step 14: A success dialog confirms that your datastore has been added. Click Go to your datastore to open its page.
Step 1: Navigate to the Datastores page.
Step 2: Click the Add button at the top-right corner and choose Source .
Step 3: The Add Datastore page opens.
Step 4: Select Existing Connection next to the Search field.
Step 5: Select the saved Databricks connection from the grid. Use the search field to filter connections by name. The Connection Properties section and its groups come already filled in and read-only.
Start a new connection from this one
To use the selected connection as a starting point for a brand-new connection instead, click the Duplicate as a new connection button on the selected connection. The form switches to New Connection mode with the connection's settings already filled in for you to adjust.
Step 6: Fill in the Location fields (Catalog and Database) and the General fields. These are the only fields left to fill in: Catalog and Teams are the required ones, while Database, Name (or Name Template), Group, and Initiate Sync are optional.
Step 7: Click Test connection. A success message confirms that the connection has been verified.
Info
The Finish and Next buttons stay disabled until the connection test passes on the current values. If the test fails, see Troubleshooting.
Step 8: Click Finish to create the datastore.
Tip
To link a destination so Qualytics can write anomalies and metadata from the first operation, click Next instead of Finish. See Add Enrichment Datastore.
Step 9: A success dialog confirms that your datastore has been added. Click Go to your datastore to open its page.