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

In Data Explorer, how do you Refresh a table definition?

Jason_923248
New Contributor III

In Data Science & Engineering -> Data -> Data Explorer, if I expand the hive_metastore, then expand a schema and choose a table, and then view the "Sample Data", I receive this error:

[DEFAULT_FILE_NOT_FOUND] It is possible the underlying files have been updated. You can explicitly invalidate the cache in Spark by running 'REFRESH TABLE tableName' command in SQL or by recreating the Dataset/DataFrame involved. 

In the old UI, I would click the "Refresh" button to clear the error. That button does not seem to exist anymore. Is there a new method to REFRESH a table within the Data Explorer?

1 ACCEPTED SOLUTION

Accepted Solutions

Thanks....I have tried that many times, and it does not help. It's like the Sample Data view in Databricks is cached in some way, and there is no longer a mechanism refresh it.

View solution in original post

2 REPLIES 2

padmajaa
New Contributor III

Try refreshing all cached entries that are associated with the table that might help

REFRESH TABLE [db_name.]table_name

Thanks....I have tried that many times, and it does not help. It's like the Sample Data view in Databricks is cached in some way, and there is no longer a mechanism refresh it.

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.