Answers for "sparksession builder pyspark local"

2

pyspark session

from pyspark.sql import SparkSession
spark = SparkSession.builder.master("yarn").appName("my app").enableHiveSupport().getOrCreate()
Posted by: Guest on September-04-2020

Python Answers by Framework

Browse Popular Code Answers by Language