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:
##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)