Dataframe API registerTempTable deprecated
The Dataframe API registerTempTable has been deprecated in Spark 2.4.
Type of change:
Syntactic/Spark core change
Spark 1.6
registerTempTable
is used to create a temporary table on a Spark
dataframe. For example, df.registerTempTable('tmpTable")
.
Spark 2.4
registerTempTable is deprecated.
Action Required
Replace registerTempTable
using createOrReplaceTempView.
df.createOrReplaceTempView('tmpTable')
.