Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

sparklyr (version 0.9.1)

tbl_cache: Cache a Spark Table

Description

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.