uncacheTable {SparkR}R Documentation

Uncache Table

Description

Removes the specified table from the in-memory cache.

Usage

uncacheTable(sqlContext, tableName)

Arguments

sqlContext

SQLContext to use

tableName

The name of the table being uncached

Value

DataFrame

Examples

## Not run: 
##D sc <- sparkR.init()
##D sqlContext <- sparkRSQL.init(sc)
##D path <- "path/to/file.json"
##D df <- jsonFile(sqlContext, path)
##D registerTempTable(df, "table")
##D uncacheTable(sqlContext, "table")
## End(Not run)

[Package SparkR version 1.4.1 Index]