cacheTable {SparkR}R Documentation

Cache Table

Description

Caches the specified table in-memory.

Usage

## Default S3 method:
cacheTable(tableName)

Arguments

tableName

The name of the table being cached

Value

SparkDataFrame

Note

cacheTable since 1.4.0

Examples

## 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)

[Package SparkR version 2.1.3 Index]