MATERIALIZED_VIEW_OPERATION_NOT_ALLOWED error class

SQLSTATE: 56038

The materialized view operation <operation> is not allowed:

DROP_DELTA_LIVE_TABLE

Cannot DROP a Materialized View created from Delta Live Tables, instead remove the Materialized View from the pipeline definition in Delta Live Tables and retry the pipeline again.

MV_NOT_ENABLED

Materialized view features are not enabled for your workspace. Please reach out to Databricks to enable materialized views for your workspace.

REPLACE_DELTA_LIVE_TABLE

Cannot REPLACE a Materialized View created from Delta Live Tables, instead update the Materialized View from the pipeline definition in Delta Live Tables and retry the pipeline again.

REQUIRES_DBSQL_PRO_PLUS

Cannot <operation> the Materialized View <tableName> from <environment>, please use DBSQL Pro warehouse.

REQUIRES_SHARED_COMPUTE

Cannot <operation> the Materialized View <tableName> from an Assigned or No Isolation Shared cluster, please use a Shared cluster or a Databricks SQL warehouse instead.