(Deprecated) Register Temporary Table
registerTempTable-deprecated.Rd
Registers a SparkDataFrame as a Temporary Table in the SparkSession
Usage
registerTempTable(x, tableName)
# S4 method for SparkDataFrame,character
registerTempTable(x, tableName)
Examples
if (FALSE) {
sparkR.session()
path <- "path/to/file.json"
df <- read.json(path)
registerTempTable(df, "json_df")
new_df <- sql("SELECT * FROM json_df")
}