tbl_cache
From sparklyr v0.7.0
by Javier Luraschi
Cache a Spark Table
Force a Spark table with name name
to be loaded into memory.
Operations on cached tables should normally (although not always)
be more performant than the same operation performed on an uncached
table.
Usage
tbl_cache(sc, name, force = TRUE)
Arguments
- sc
A
spark_connection
.- name
The table name.
- force
Force the data to be loaded into memory? This is accomplished by calling the
count
API on the associated Spark DataFrame.
Community examples
Looks like there are no examples yet.