SparkR (version 2.4.6)

refreshByPath: Invalidates and refreshes all the cached data and metadata for SparkDataFrame containing path

Description

Invalidates and refreshes all the cached data (and the associated metadata) for any SparkDataFrame that contains the given data source path. Path matching is by prefix, i.e. "/" would invalidate everything that is cached.

Usage

refreshByPath(path)

Arguments

path

the path of the data source.

Examples

Run this code
# NOT RUN {
sparkR.session()
refreshByPath("/path")
# }

Run the code above in your browser using DataCamp Workspace