--- title: Create a Databricks metadata collector description: Create a collector to import metadata from Databricks. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/integrate-applications/create-databricks-metadata-collector.html release: australia topic_type: task last_updated: "2026-03-12" reading_time_minutes: 6 breadcrumb: [Databricks metadata collector, Configuring metadata collectors, Data Catalog, Workflow Data Fabric] --- # Create a Databricks metadata collector Create a collector to import metadata from Databricks. ## Before you begin Before you begin, verify the following: - All per-requisite tasks are completed. For more information, see [Prepare to run the Databricks collector](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/prepare-to-run-the-databricks-collector.md). - If you plan to run the collector on-premise, a MID Server is setup for the collector. For more information, see [MID Server for metadata collectors](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/mid-server-for-metadata-collectors-dc.md). - Role required: connection-admin ## Procedure 1. Navigate to **All** > **Workflow Data Fabric** > **Workflow Data Fabric Home**. 2. Select the Connect Hub \[Omitted image "wdf-connect-hub-icon.png"\] Alt text: Connect Hub icon icon in the left sidebar. 3. Select **Create** > **Metadata collector**. 4. From the System list, select **Databricks**. 5. From the Connection type list, select one of the following: 1. Select **New connection** to configure a new connection. 2. Select **Existing connection** to reuse an existing connection and select an existing connection from the **Connections** list. The configuration form is filled with details from the existing connection. The name is appended with the word Copy and sensitive details like password aren't copied. 6. On the form, fill in the fields. |Field|Description| |-----|-----------| |Connection name|Unique identifier for the connection. This field can't be modified once the connection is established.| |Short description|Purpose and details of the connection.| 7. Enter the Databricks connection details.
| Field | Description |
|---|---|
| Server | Hostname of the database server to connect to. |
| Server port | Port of the database server \(if not the default\). |
| Databricks HTTP Path | Databricks compute resources URL. See [Databricks documentation](https://docs.databricks.com/integrations/bi/jdbc-odbc-bi.html#odbc-configuration-and-connection-parameters) for details. |
| Use MID server | Option to connect to the source system through a MID Server. When selected, the **MID selection** options appear. |
| MID selection | MID Server routing option for the collector job. This field appears only when **Use MID server** is selected. - **Auto-Select MID Server** — The system selects an available MID Server at job execution time. Default selection. - **Specific MID Server** — The collector job runs on the selected MID Server. If the MID Server is offline at job execution time, the job fails with an error identifying the MID Server by name. - **Specific MID Cluster** — The collector job runs on any available MID Server within the selected cluster. |
| MID Server | MID Server to use for the collector job. This field appears only when **Specific MID Server** is selected. The selected MID Server is saved on the collector record and used for all subsequent collection runs until changed. |
| MID Cluster | MID cluster to use for the collector job. This field appears only when **Specific MID Cluster** is selected. The selected cluster is saved on the collector record; any available MID Server within the cluster may serve the job. |
| Capabilities | One or more capability labels that restrict auto-selection to MID Servers advertising those capabilities. This field appears only when **Auto-Select MID Server** is selected. |
| MID application | MID Server application to use for the collector job. This field appears only when **Auto-Select MID Server** is selected. |
| Field | Description |
|---|---|
| Include databases | Name of the database to connect to. Specify multiple databases by adding one value per line. |
| Excluded databases | Name or regular expression indicating databases not to catalog when the Database field is empty.**Note:** This parameter is ignored if the Database field is specified. |
| Field | Description |
|---|---|
| Enable column statistics collection | Enable harvesting of column statistics \(data profiling\).**Note:** Enabling profiling can increase the collector's runtime because the collector must read table data to generate profiling metadata. |
| Target sample size for column statistics | Number of rows sampled for computation of column statistics and string-value histograms. For example, to sample 1000 rows, set the parameter to 1000.Default: 100000 |
| Disable Lineage collection | Skip harvesting of intra-database lineage metadata. |
| Disable Extended Metadata collection | Skip harvesting of extended metadata for data asset types such as database, schema, table, columns functions, stored procedures, user defined types, and synonyms. Basic metadata for these data asset types will still be harvested. |
| Field | Description |
|---|---|
| Disable Harvesting Workflows | Skip harvesting of Databricks workflows and their lineage metadata. |
| Harvest Lineage from Other Schemas | Harvest lineage from other schemas. |
| Enable Sample String Values collection | Enable sampling and storage of sample values for string-valued columns. |
| Exclude system functions | Exclude harvesting of built-in Databricks system functions. |
| Disable Harvesting Notebook Content | Skip harvesting notebook content. |
| Page Size for Harvesting Queries | Specify the page size for harvesting queries.Default: 1000 |
| Page Size for Databricks API Responses | Specify the page size for Databricks API response. Default: 100 |
| Enable Metric Views Harvesting | Enable harvesting of metric views. Metric view information is extracted from a table's extended metadata and is available only when extended metadata harvesting is enabled. |
| Field | Description |
|---|---|
| Server environment | Friendly name for the environment where your database server runs when the server name is localhost. Helps differentiate it from other environments. |
| Database ID | Unique identifier for this database. Used to generate the database ID when the database name isn't sufficiently unique. |
| JDBC properties | JDBC driver properties to pass through to driver connection. |
| Max retries | The number of times the system retries a failed API call.Default: 5 |
| Retry delay | The number of seconds to wait between retry attempts for a failed API call.Default: 2 seconds |
| Disable model collection | Skip harvesting machine learning models. |
| Databricks account ID | The Databricks account ID for Unity Catalog access. |
| External workspace URL | The external workspace URL for cross-workspace access. |
| Enable governance metadata collection | Enable harvesting of governance metadata including privileges, workspace bindings, ABAC policies, row filters, and column masking policies |
| Workspace ID to URL Mapping | Specify workspace ID to workspace URL mapping. Provide the option multiple times for multiple mappings. |
| SQL parsing timeout | Timeout in seconds for SQL parsing during lineage collection. Default: 60 |