Requirements for standalone pipelines
Creating and refreshing standalone materialized views and streaming tables requires a serverless-enabled, Unity Catalog-enabled workspace, and either a SQL warehouse or a notebook on serverless general compute.
You can create and refresh standalone materialized views and streaming tables using a SQL warehouse. To submit CREATE and REFRESH statements, use the SQL editor in the Databricks UI, the Databricks SQL CLI, or the Databricks SQL API.
General requirements
The following requirements apply to all standalone pipelines.
You must have:
- A Databricks account with serverless enabled. See Set up serverless SQL warehouses.
- A workspace with Unity Catalog enabled. See Get started with Unity Catalog.
Permissions to create or refresh
The owner (the user who creates the table) must have the following permissions:
SELECTprivilege on the base tables.USE CATALOGandUSE SCHEMAprivileges on the catalog and schema containing the source tables.USE CATALOGandUSE SCHEMAprivileges on the target catalog and schema.CREATE MATERIALIZED VIEWprivilege on the schema containing the materialized view.CREATE TABLEprivilege on the schema containing the streaming table. Pipelines using legacy publishing mode also require theCREATE TABLEprivilege for materialized views.
To refresh a standalone materialized view or streaming table:
- You must be in the workspace that created it.
- You must have the
REFRESHprivilege on the table. Owners have this privilege implicitly.
Source table requirements
For incremental refresh of materialized views from Delta tables, the source tables must have row tracking enabled.
SQL warehouses
To create or refresh standalone materialized views and streaming tables using a SQL warehouse, you must have a Unity Catalog-enabled pro or serverless SQL warehouse.
Query requirements
To query a standalone materialized view or streaming table, you must be the owner, or you must have SELECT on the table along with USE CATALOG and USE SCHEMA on its parents.
You must use one of the following compute resources:
- SQL warehouse
- Lakeflow Spark Declarative Pipelines interfaces
- Standard access mode compute (formerly shared access mode)
- Dedicated access mode compute (formerly single user access mode) on Databricks Runtime 15.4 or above, if the workspace is enabled for serverless compute. See Fine-grained access control on dedicated compute. If you are the owner, you can use dedicated access mode compute running Databricks Runtime 14.3 or above.
Regional availability
Tables created and refreshed using a Databricks SQL warehouse are available in all regions that support serverless Databricks SQL warehouses.
For the list of supported regions for Databricks SQL warehouses, see Serverless availability.