Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Create a Databricks metadata collector

Create a collector to import metadata from Databricks.

Before you begin

Before you begin, verify the following:

Procedure

  1. Navigate to All > Workflow Data Fabric > Workflow Data Fabric Home.

  2. Select the Connect Hub

Image omitted: wdf-connect-hub-icon.png
Connect Hub icon icon in the left sidebar.
  1. Select Create > Metadata collector.

  2. From the System list, select Databricks.

  3. 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.

  4. On the form, fill in the fields.

    FieldDescription
    Connection nameUnique identifier for the connection. This field can't be modified once the connection is established.
    Short descriptionPurpose and details of the connection.
  5. Enter the Databricks configuration details.

    FieldDescription
    ServerHostname of the database server to connect to.
  6. Choose between Collect all schemas and Specify which schema to collect to configure the schema collection options.

    FieldDescription
    Collect all schemas
    Collect all schemasCatalog all schemas to which the user has access.
    Exclude SchemaName or regular expression of the database schema to be excluded.
    Include Information SchemaInclude the database's Information Schema in catalog collection.
    Specify which schema to collect
    Specify which schema to collectCatalog only the specified schemas.
    SchemaName of the database schema to catalog.
  7. Enter the Databricks configuration details.

FieldDescription
Server portPort of the database server \(if not the default\).
DatabaseName of the database to connect to. Specify multiple databases by adding one value per line.
Databricks HTTP PathDatabricks compute resources URL. See Databricks documentation for details.
Excluded databaseName or regular expression for databases to exclude when the Database field is empty.Note: This parameter is ignored if the Database field is specified.
  1. Configure the server details and authentication options.

    FieldDescription
    Server details
     Hostname of the database server to connect to.
    Authentication options
    Authenticate using personal access tokenOption to authenticate using the Databricks personal access token. For details, see Databricks documentation.
    Authenticate using Databricks Service PrincipalOption to authenticate using the Databricks service principal client ID and Databricks Service Principal Client Secret.
  2. Configure the statistics and sampling options.

FieldDescription
Enable column statistics collectionEnable 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 statisticsNumber 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 collectionSkip harvesting of intra-database lineage metadata.
Disable Extended Metadata collectionSkip 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.
  1. Configure the harvesting scope and limits options.
FieldDescription
Disable Harvesting WorkflowsSkip harvesting of Databricks workflows and their lineage metadata.
Harvest Lineage from Other SchemasHarvest lineage from other schemas.
Enable Sample String Values collectionEnable sampling and storage of sample values for string-valued columns.
Exclude system functionsExclude harvesting of built-in Databricks system functions.
Disable Harvesting Notebook ContentSkip harvesting notebook content.
Page Size for Harvesting QueriesSpecify the page size for harvesting queries.Default: 1000
Page Size for Databricks API ResponsesSpecify the page size for Databricks API response. Default: 100
Enable Metric Views HarvestingEnable 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.
  1. Configure the connection and reliability options.
FieldDescription
Server environmentFriendly name for the environment where your database server runs when the server name is localhost. Helps differentiate it from other environments.
Database IDUnique identifier for this database. Used to generate the database ID when the database name isn't sufficiently unique.
JDBC propertiesJDBC driver properties to pass through to driver connection.
Max retriesThe number of times the system retries a failed API call.Default: 5
Retry delayThe number of seconds to wait between retry attempts for a failed API call.Default: 2 seconds
Disable Model CollectionSkip harvesting machine learning models.
Databricks account IDThe Databricks account ID for Unity Catalog access.
External Workspace URLThe external workspace URL for cross-workspace access.
Enable Governance Metadata CollectionEnable harvesting of governance metadata including privileges, workspace bindings, ABAC policies, row filters, and column masking policies
Workspace ID to URL MappingSpecify workspace ID to workspace URL mapping. Provide the option multiple times for multiple mappings.
SQL parsing timeoutTimeout in seconds for SQL parsing during lineage collection. Default: 60
  1. Select Save.

Result

The metadata collector is created and appears on the Connectors page with a Configured status. It is now ready to connect to the source system and harvest metadata.

What to do next

After creating the collector, you can perform any of the following tasks:

Parent Topic:Databricks metadata collector