cacheTable {SparkR} | R Documentation |
Caches the specified table in-memory.
cacheTable(tableName)
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. |
SparkDataFrame
cacheTable since 1.4.0
## Not run:
##D sparkR.session()
##D path <- "path/to/file.json"
##D df <- read.json(path)
##D createOrReplaceTempView(df, "table")
##D cacheTable("table")
## End(Not run)