Answers for "how to get the schema of a hive table in pyspatk"

2

create pyspark session with hive support

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

Code answers related to "how to get the schema of a hive table in pyspatk"

Python Answers by Framework

Browse Popular Code Answers by Language