Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

create pyspark session with hive support

from pyspark.sql import SparkSession
spark = SparkSession.builder.master("yarn").appName("my app").enableHiveSupport().getOrCreate()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #create #pyspark #session #hive #support
ADD COMMENT
Topic
Name
2+6 =