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: 

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.

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