SparkR (version 2.4.6)

uncacheTable: Uncache Table

Description

Removes the specified table from the in-memory cache.

Usage

# S3 method for default
uncacheTable(tableName)

Arguments

tableName

the qualified or unqualified name that designates a table. If no database identifier is provided, it refers to a table in the current database.

Value

SparkDataFrame

Examples

Run this code
# NOT RUN {
sparkR.session()
path <- "path/to/file.json"
df <- read.json(path)
createOrReplaceTempView(df, "table")
uncacheTable("table")
# }

Run the code above in your browser using DataCamp Workspace