Skip to content

Querying Databricks Data

Prerequisites:

Query data with Python

  1. Create a new workspace.
  2. Query the Immuta-protected data as you normally would:

    df = spark.sql('select * from database.table_name')
    df.show()
    

Query data with SQL

  1. Create a new workspace.
  2. Query the Immuta-protected data as you normally would:

    select * from database.table_name;