access_time 3 years ago languageEnglish
more_vert

Read Data from Hive in Spark 1.x and 2.x

visibility 1,832 comment 0
Form Spark 2.0, you can use Spark session builder to enable Hive support directly. The following example (Python) shows how to implement it. from pyspark.sql import SparkSession appName = "PySpark Hive Example" master = "local" # Create Spark session with Hive supported. spark = ...
info Last modified by Raymond 10 months ago
thumb_up 0

Subscribe newsletter

comment Comments

No comments yet.

Forum discussions for column Spark.