Skip to contents

Drops the temporary table with the given table name in the catalog. If the table has been cached/persisted before, it's also unpersisted.

Usage

dropTempTable(tableName)

Arguments

tableName

The name of the SparkSQL table to be dropped.

Note

dropTempTable since 1.4.0

See also

Examples

if (FALSE) {
sparkR.session()
df <- read.df(path, "parquet")
createOrReplaceTempView(df, "table")
dropTempTable("table")
}