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