dropTempTable {SparkR} | R Documentation |
Drops the temporary table with the given table name in the catalog. If the table has been cached/persisted before, it's also unpersisted.
dropTempTable(sqlContext, tableName)
sqlContext |
SQLContext to use |
tableName |
The name of the SparkSQL table to be dropped. |
## Not run: sc <- sparkR.init() sqlContext <- sparkRSQL.init(sc) df <- read.df(sqlContext, path, "parquet") registerTempTable(df, "table") dropTempTable(sqlContext, "table") ## End(Not run)