pyspark.sql.SparkSession.builder.enableHiveSupport#

builder.enableHiveSupport()#

Enables Hive support, including connectivity to a persistent Hive metastore, support for Hive SerDes, and Hive user-defined functions.

New in version 2.0.0.

Returns
SparkSession.Builder

Examples

>>> SparkSession.builder.enableHiveSupport()
<pyspark.sql.session.SparkSession.Builder...