
Explanation:
df.createOrReplaceTempView('view_name') exposes the DataFrame as a temporary view in the Spark SQL catalog for the duration of the current Spark session. It does not write the data to disk.
Ultimate access to all questions.
No comments yet.