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?

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group