REFRESH CACHE
Applies to: Databricks Runtime
Invalidates and refreshes all the cached data (and the associated metadata) in Apache Spark cache for
all Datasets that contains the given data source path. Path matching is by prefix, that is, /
would
invalidate everything that is cached.
See REFRESH (MATERIALIZED VIEW or STREAMING TABLE) for refreshing the data in streaming tables and materialized views.
Syntax
REFRESH resource_path
See Disk cache vs. Spark cache for the differences between disk caching and the Apache Spark cache.