Databricks
The Databricks connector for rudol allows you to connect your Databricks data warehouse instance.
Prerequisites
We recommend using a Service Principal Identity to connect your Databricks, you can read more about this requirement and its specific details here. The following are recomendations to manage this identity.
- Create a new Databricks Service Principal. You can check here how to create a new Service Principal.
- Add the Service Principal to a Group. You can check here how to do this.
- Add the Group to which the Service Principal belongs to your SQL Warehouse Workspace. You can check here more info.
- Give the Group permission to Token Usage. You can check here how to do this.
- Generate a Databricks Personal Access token following this guide.
Connection parameters
Name | Type | Description |
---|---|---|
Access Token | password | Generated Access Token for Rudol Service Principal. |
Server Hostname | text | Server Hostname value for your SQL warehouse. You can find it in the Connection Details section of your SQL Warehouse. |
Http Path | text | HTTP Path value for your SQL warehouse. You can find it in the Connection Details section of your SQL Warehouse. |
Catalog | text | Catalog name you want to ingest. |
User permissions
We recommend limiting access to only the necessary database objects you intend to integrate with rudol. To do this you need to give your service account the following privileges:
USE CATALOG
privilege on any catalogs you want to ingest.USE SCHEMA
privilege on any schemas you want to ingest.SELECT
privilege on any tables you want to execute validations on.
You can check more information on privileges here
Here is a sample code to grant your service principal the necessary privileges:
GRANT USE_CATALOG ON CATALOG rudol TO `service-principal-uuid`;
GRANT USE_SCHEMA ON SCHEMA sample_schema TO `service-principal-uuid`;
GRANT SELECT ON SCHEMA sample_schema TO `service-principal-uuid`;
Restrict connections by IP Address
You can also restrict access to only accept incoming connections from the rudol public IP Address 52.6.101.83
. Check here for more information: Security and Privacy