Skip to content

Commit

Permalink
Removes redundant Driver initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
liancheng committed Oct 28, 2014
1 parent a28fef5 commit 8446675
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,6 @@ class HiveContext(sc: SparkContext) extends SQLContext(sc) {

proc match {
case driver: Driver =>
driver.init()
val results = HiveShim.createDriverResultsArray
val response: CommandProcessorResponse = driver.run(cmd)
// Throw an exception if there is an error in query processing.
Expand Down

0 comments on commit 8446675

Please sign in to comment.