SparkR (version 2.1.2)

dropTempTable: (Deprecated) 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

# S3 method for default
dropTempTable(tableName)

Arguments

tableName

The name of the SparkSQL table to be dropped.

See Also

dropTempView

Examples

Run this code
# NOT RUN {
sparkR.session()
df <- read.df(path, "parquet")
createOrReplaceTempView(df, "table")
dropTempTable("table")
# }

Run the code above in your browser using DataCamp Workspace