dropTempTable {SparkR}R Documentation

Drop Temporary Table

Description

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(sqlContext, tableName)

Arguments

sqlContext

SQLContext to use

tableName

The name of the SparkSQL table to be dropped.

Examples

## Not run: 
##D sc <- sparkR.init()
##D sqlContext <- sparkRSQL.init(sc)
##D df <- read.df(sqlContext, path, "parquet")
##D registerTempTable(df, "table")
##D dropTempTable(sqlContext, "table")
## End(Not run)

[Package SparkR version 1.4.0 Index]