Skip to contents

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.

Note

since 2.2.0

Examples

if (FALSE) {
sparkR.session()
refreshByPath("/path")
}