DEV Community

Programmers Quickie

Spark DataSet, DataFrame, createOrReplaceTempView

DataFrame.createOrReplaceTempView - Creates or replaces a local temporary view with this DataFrame. The lifetime of this temporary table is tied to the SparkSession that was used to create this DataFrame.

Episode source