{"id":56053,"library":"spark-hive-2-12","title":"Apache Spark Hive Support","description":"Apache Spark Hive support module enables integration with Apache Hive for reading and writing Hive tables and executing HiveQL queries.","status":"active","version":"3.5.8","language":"java","source_language":null,"source_url":"https://github.com/apache/spark","tags":["apache-spark","hive","big-data","sql"],"install":[{"cmd":"<dependency>\n  <groupId>org.apache.spark</groupId>\n  <artifactId>spark-hive_2.12</artifactId>\n  <version>3.5.8</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.apache.spark:spark-hive_2.12:3.5.8'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"HiveContext","correct":"org.apache.spark.sql.hive.HiveContext"}],"quickstart":{"code":"import org.apache.spark.sql.hive.HiveContext;\nimport org.apache.spark.SparkConf;\nimport org.apache.spark.api.java.JavaSparkContext;\n\nSparkConf conf = new SparkConf().setAppName(\"HiveExample\");\nJavaSparkContext sc = new JavaSparkContext(conf);\nHiveContext hiveContext = new HiveContext(sc);\nhiveContext.sql(\"SELECT * FROM my_table\").show();","lang":"java","description":"Execute Hive SQL queries using Spark."},"warnings":[{"fix":"Use SparkSession.builder().enableHiveSupport().getOrCreate() instead.","message":"HiveContext is deprecated in Spark 2.x; use SparkSession with Hive support enabled.","severity":"breaking","affected_versions":">=2.0"}],"env_vars":null,"search_vec":"'apach':1,5,13,26 'apache-spark':25 'big':30 'big-data':29 'data':31 'enabl':10 'execut':22 'hive':3,7,14,19,28 'hiveql':23 'integr':11 'modul':9 'queri':24 'read':16 'spark':2,6,27 'sql':32 'support':4,8 'tabl':20 'write':18","created_at":"2026-06-15T10:18:47.853053+00:00","updated_at":"2026-06-15T10:18:47.853053+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://spark.apache.org/","github":"https://github.com/apache/spark","docs":"https://appdoc.app/artifact/org.apache.spark/spark-hive_2.12/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["database"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}