Cache Table
cacheTable.Rd
Caches the specified table in-memory.
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.
Examples
if (FALSE) {
sparkR.session()
path <- "path/to/file.json"
df <- read.json(path)
createOrReplaceTempView(df, "table")
cacheTable("table")
}