Databricks permission prerequisites for zero-copy segmentation
Learn how to identify the Databricks roles, objects, and values required to configure permissions for zero-copy segmentation.
Before granting Databricks permissions for zero-copy segmentation, identify who can grant each type of access, confirm that the required Databricks resources exist, and collect the values used in the SQL GRANT commands.
Reltio roles
Databricks roles
| Actor | Responsibility |
|---|---|
| Databricks workspace administrator | Assigns access to the SQL warehouse. |
| Databricks metastore administrator or target-schema owner | Grants access to the published entity data and permission to create the segment results table. |
| Unity Catalog object owner | Grants access to interaction data used by segment rules. |
Prerequisites
Before you begin, confirm the following requirements are met:
-
Reltio Data Pipeline for Databricks completed a successful run.
-
The Databricks connection service principal exists in the workspace.
-
A Databricks SQL warehouse is available.
-
You can list schemas in the catalog configured for Reltio Data Pipeline for Databricks.
-
Interaction mappings exist if segment rules use interaction attributes.
| Placeholder | Value |
|---|---|
<sp> | Application ID of the Databricks connection service principal. |
<catalog> | Catalog configured for Reltio Data Pipeline for Databricks. Use the same value for segmentationCatalog on the Databricks connection. |
<adapter_name> | Name of the data pipeline adapter whose type is deltalake. |
<target_schema> | Target schema created by the data pipeline. Copy the name exactly as returned by Databricks. |
<interaction_catalog> | Catalog containing a mapped interaction source. |
<interaction_schema> | Schema containing a mapped interaction source. |
<interaction_table> | Mapped interaction table or view. |
Send the Reltio API requests in this task to your Reltio tenant, and run the SQL statements in the Databricks SQL editor or a notebook attached to the SQL warehouse configured in the Reltio Databricks connection.
Result
The required Databricks administrators and object owners are identified. The catalog, target schema, service principal application ID, and any mapped interaction sources are available for the SQL GRANT commands. Continue with Configure Databricks permissions for zero-copy segmentation.