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: 
sc <- sparkR.init()
sqlContext <- sparkRSQL.init(sc)
df <- read.df(sqlContext, path, "parquet")
registerTempTable(df, "table")
dropTempTable(sqlContext, "table")

## End(Not run)

[Package SparkR version 1.6.0 Index]