Pyspark Union, sql import SparkSession # Create a Spark session spark = SparkSession.