uncacheTable {SparkR} | R Documentation |
Removes the specified table from the in-memory cache.
uncacheTable(sqlContext, tableName)
sqlContext |
SQLContext to use |
tableName |
The name of the table being uncached |
DataFrame
## Not run: sc <- sparkR.init() sqlContext <- sparkRSQL.init(sc) path <- "path/to/file.json" df <- read.json(sqlContext, path) registerTempTable(df, "table") uncacheTable(sqlContext, "table") ## End(Not run)