cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How to call a table created with create_table using dlt in a separate notebook?

rt-slowth
Contributor

I created a separate pipeline notebook to generate the table via DLT, and a separate notebook to write the entire output to redshift at the end. The table created via DLT is called spark.read.table("{schema}.{table}").
This way, I can import

[MATERIALIZED_VIEW_OPERATION_NOT_ALLOWED.REQUIRES_SHARED_COMPUTE] The materialized view operation query is not allowed: Cannot query the Materialized View main.voyager.shop_silver from an Assigned or No Isolation Shared cluster, please use a Shared cluster or a Databricks SQL warehouse instead.

I get this error. How can I fix it?

2 REPLIES 2

Enable Materialized Views:

- Consider using DBSQL Serverless (recommended) or Pro warehouse for materialized views.

- Ensure that materialized view features are enabled for your workspace.

Can you point me to the documentation for this workaround?

@Retired_mod 

 

Enable Materialized Views:

  • Ensure that materialized view features are enabled for your workspace.
  • Consider using DBSQL Serverless (recommended) or Pro warehouse for materialized views.

 

Can you point me to the documentation for this workaround?