Querying Databricks SQL Data
Audience: Data Users
Content Summary: This page offers a tutorial on how to query data within the Databricks SQL integration.
Prerequisites:
- Databricks SQL integration configured with Immuta
- Databricks SQL tables registered as Immuta data sources
REVOKE
users' access to raw tables
Query Data
- Select SQL from the upper left menu in Databricks.
- Click Create → Query.
- Select the Immuta database name used when configuring the integration.
- Query the Immuta-protected data, which takes the form of
immuta_database.backing_database_table_name
:- Immuta Database: The Immuta database name used when configuring the integration.
- Backing Database: The database that houses the backing tables of your Immuta data sources.
- Table Name: The name of the table backing your Immuta data sources.
-
Run your query (you must include the database). It should look something like this:
select * from immuta_database.backing_database_table_name limit 100