Registry / database / spark-hive-2-11

spark-hive-2-11

JSON →
library2.4.8javamavenunverified

Spark Hive provides integration between Apache Spark and Apache Hive for SQL queries on large datasets, targeting Scala 2.11.

<dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-hive_2.11</artifactId> <version>2.4.8</version> </dependency>
INSTALL
IMPORT
SIG · SPARK-HIVE-2-11
S
spark-hive-2-11
databasejavav2.4.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HiveContext
org.apache.spark.sql.hive.HiveContext

Creates a HiveContext and executes a SQL query on Hive tables.

import org.apache.spark.sql.hive.HiveContext; import org.apache.spark.SparkConf; import org.apache.spark.SparkContext; SparkConf conf = new SparkConf().setAppName("HiveExample"); SparkContext sc = new SparkContext(conf); HiveContext hiveContext = new HiveContext(sc); hiveContext.sql("SELECT * FROM table").show();
Debug
Known issues
breakingScala 2.11 is outdated; consider migrating to a newer Scala version for better performance and support.
fix
Use Spark with Scala 2.12 or 2.13.
affects: >=2.0.0
Upgrade
Version history
2.4.8latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Meta
2
Resources
spark-hive-2-11 — mvn dependency:get spark-hive-2-11 · libregistry