cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

[STREAMING_TABLE_OPERATION_NOT_ALLOWED.REQUIRES_SHARED_COMPUTE]

Chris_sh
New Contributor II

Currently trying to refresh a Delta Live Table using a Full Refresh but an error keeps coming up saying that we have to use a shared cluster or a SQL warehouse. I've tried both a shared cluster and a SQL warehouse and the same error keeps coming up. Anyone run into this?

SQL Error [500051] [42601]: [Databricks][DatabricksJDBCDriver](500051) ERROR processing query/statement. Error Code: 0, SQL state: org.apache.hive.service.cli.HiveSQLException: Error running query: [STREAMING_TABLE_OPERATION_NOT_ALLOWED.REQUIRES_SHARED_COMPUTE] org.apache.spark.sql.AnalysisException: [STREAMING_TABLE_OPERATION_NOT_ALLOWED.REQUIRES_SHARED_COMPUTE] The operation REFRESH is not allowed: Cannot REFRESH a Streaming Table `dw_bronze`.`dlt`.`[Redacted]` from an Assigned or No isolation shared cluster, please use a SHARED cluster or a Databricks SQL warehouse instead.

1 ACCEPTED SOLUTION

Accepted Solutions

Kaniz
Community Manager
Community Manager

Hi @Chris_sh, When you're trying to do a "Full Refresh" on a Delta Live table using an "Assigned" cluster, which is not allowed. In a shared cluster, the Spark driver runs on the same node as the executor, enabling it to access the Delta cache.

View solution in original post

1 REPLY 1

Kaniz
Community Manager
Community Manager

Hi @Chris_sh, When you're trying to do a "Full Refresh" on a Delta Live table using an "Assigned" cluster, which is not allowed. In a shared cluster, the Spark driver runs on the same node as the executor, enabling it to access the Delta cache.

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.