Welcome to the Alteryx Knowledge Base
Created/Edited -
Configure Databricks Unity Catalog Volumes in AACP
- Databricks admin access
- AACP admin access
Alteryx Analytics Platforms now supports Unity Catalog volumes as alternative to the personal staging location that has been deprecated by Databricks. The Unity Catalog can now be used as internal staging location for writing data to Databricks from Alteryx Analytics Cloud Platform.
To configure Databricks Unity Catalog as a staging location for your AACP instance, as admin complete the following steps:
- Generate a Personal Access Token for Databricks admin;
- Create a new Unity Catalog volume to be assigned to your AACP Databricks workspace;
- Create a new Databricks workspace in your AACP account;
- Use your newly created AACP Databricks workspace to configure a new connection;
Step 1: Generate a Personal Access Token for Databricks admin;
- Navigate to your Databricks account, click on your user icon at the top right corner and click settings:
- Click Developer
-
Next to Access tokens, click Manage:
-
Click Generate new token:
- Copy and save the token value:
Step 2: Create a new Unity Catalog volume to be assigned to your AACP Databricks workspace
-
-
As account admin, go to your Databricks workspace
-
Navigate to catalog, select a catalog and a schema, and click Create Volume
-
Specify the volume name, select the volume type and, provide descriptive name, i.e. aacp_volume, and click Create:
-
- Save the volume name, you will need it in next steps
Step 3: Create / edit a new Databricks workspace in your AACP account
- As AACP admin, navigate to your AACP account, click on your user icon and select workspace admin;
-
Next, navigate to Databricks tab and select New workspace:
-
Specify your Databricks workspace url and the personal access token we collected in previous step and click authenticate:
-
In the new workspace configuration, provide a descriptive name for your Databricks workspace in AACP and provide required configuration
- Select the SQL warehouse
-
In the Unity Catalog Volumes configuration, perform the following steps to configure your AACP workspace with existing volume:
- Select Existing volumes option
-
Select the catalog name of the unity catalog which you created your volume in
-
Select the schema name which you created your volume in
-
Select the volume name you created in step 2 of this guide
Note: Here is an option. If you want to create a new volume for your ACCP workspace, you may choose to create a new Volume.
In the Unity Catalog Volumes configuration, perform the following steps to configure your AACP workspace:
-
- Select the catalog name of the unity catalog which you created your volume in
-
Select the schema name which you created your volume in
-
Provide descriptive name for your Unity Catalog Volume:
-
-
Provide remaining configuration and click save.
-
Step 4. Use your newly created AACP Databricks workspace to configure a new connection
-
As an AACP workspace user, navigate to connections:
- Click create connection and select Databricks from the list of connections
-
Set a descriptive connection name, select the Databricks workspace your admin has configured for you and provide your Personal Access Token (PAT):
-
Click test connection to validate the connection;
-
Save the connection by clicking Create;
As a user, you can now use your newly created Databricks connection in AACP workflow.