You can import data from Databricks to create source datasets in Anaplan Data Orchestrator (ADO). To import data, you need a connection to Databricks and a read pipeline in Data Orchestrator.
You must first create a connection to Databricks with the Databricks connector. Then use that connection to set up a read pipeline for data import.
Connectivity prerequisites
Before you create a connection to Databricks, you need to meet these prerequisites.
| Item | Notes |
| Databricks workspace | A Databricks workspace hosted on Amazon Web Services (AWS), Microsoft Azure, or Google Cloud Platform (GCP). |
| Databricks SQL warehouse | A running Databricks SQL warehouse or compute resource that the service principal can access. The service principal needs the |
| Databricks service principal | You need a Databricks service principal that's configured with these items:
Note: The Databricks connector support Microsoft Entra ID service principals. If the your Databricks workspace is hosted on Azure, and you enter an Azure-based Databricks host, you get an option to authenticate using a Microsoft Entra ID service principal (an additional checkbox appears). |
| Service principal access | Access for the service principal to the SQL Warehouse or compute resource used for the connection. |
| Unity Catalog permissions | The required Unity Catalog permissions for the service principal to access the target catalog and schema:
For example:
|
| Databricks connection details | You need the following Databricks connection details:
|
Create a connection to Databricks
From the Connection screen in Data Orchestrator, use the Databricks connector to create a connection to Databricks.
To create a connection:
- Select Data Orchestrator from the top-left navigation menu.
- Choose a dataspace from the list.
- Select Connections from the left-side panel.
- Select Create connection.
- On the Create connection page, select Databricks, and then select Next.
If you don't find the connector, enter a search term in the Find... field. - Enter these details on the Connection details screen, and then select Next:
- Name: Create a name for your connection. The name can contain alphanumeric characters and underscores.
- Description: Optionally, enter a description about your connection.
- Enter your Databricks credentials on the Connection credentials screen, and then select Next.
See the Databricks connection credentials page for more information about the credentials needed. - After the connection test is complete, select Done.
Import data
To import data from Databricks, you must create a read pipeline with your Databricks connection.
A read pipeline imports the data from a table in Databricks to Data Orchestrator. It then uses the imported data to create or update a source dataset.
You can create a read pipeline from the Pipelines screen in Data Orchestrator.