Rachel Silver

Sample Code: Spark SQL using HiveContext

Discussion created by Rachel Silver Employee on Oct 26, 2016

By Vince Gonzalez

 

Minimal example of Spark SQL using HiveContext - tested against MapR 5, with Hive 1.2.

This example creates a JavaSparkContext, followed by a HiveContext, to then execute some queries to insert data into a new hive table.

 

GitHub - mapr-demos/SparkSQLHiveContextExample: Minimal example of Spark SQL using HiveContext - tested against MapR 5, … 

Outcomes