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 can I enable disk cache in this scenario/

anupam676
New Contributor II

I have a notebook where I read multiple tables from delta lake (let say schema is db) and after that I did some sort of transformation (image enclosed) using all these tables lwith transformations like join,filter etc. After transformation and writing it to delta table, I am getting insight from databricks to use disk cache(image enclosed). In this scenario how can I use disk cache. I used 

spark.conf.get("spark.databricks.io.cache.enabled","true") for disk cache but still getting the same insight.
Also, whenever I am trying to write the final DF to any table in delta lake getting the same insight that use disk cache.
How can I fix this. Is there any other optimization technique I can adapt rather than this.
Please check the image enclosed with it.
 
 
1 ACCEPTED SOLUTION

Accepted Solutions

shan_chandra
Databricks Employee
Databricks Employee

@anupam676 - could you please use set function instead of get 

spark.conf.set("spark.databricks.io.cache.enabled","true"

View solution in original post

2 REPLIES 2

shan_chandra
Databricks Employee
Databricks Employee

@anupam676 - could you please use set function instead of get 

spark.conf.set("spark.databricks.io.cache.enabled","true"

anupam676
New Contributor II

Thank you @shan_chandra 

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