Questions tagged [hivecontext]

Questions related to HiveContext class of Apache Spark

A variant of Spark SQL that integrates with data stored in Hive.

Configuration for Hive is read from hive-site.xml on the classpath. It supports running both SQL and HiveQL commands.

More documentation can be found:

106 questions
-2
votes
1 answer

How to pass HiveContext as an argument from one function to another function using spark scala

I have a sceneria where I need to pass HiveContext as an argument to another function. Below is my code and where I am stuck with issue: Object Sample { def main(args:Array[String]){ val fileName = "SampleFile.txt" val conf = new…
Ku002
  • 117
  • 1
  • 2
  • 14
1 2 3 4 5 6 7
8