Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

To create a SparkSession

# To create a SparkSession

spark = SparkSession.builder.master(
  "local").appName("Word Count").config(
  "spark.some.config.option", "some-value").getOrCreate()
Source by spark.apache.org #
 
PREVIOUS NEXT
Tagged: #To #create #SparkSession
ADD COMMENT
Topic
Name
1+8 =