Creating a temporary table

DataFrames can easily be manipulated with SQL queries in Spark.

In this recipe, we will learn how to create a temporary view so you can access the data within DataFrame using SQL.

Get PySpark Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.