Skip to content

Commit 8446675

Browse files
committed
Removes redundant Driver initialization
1 parent a28fef5 commit 8446675

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,6 @@ class HiveContext(sc: SparkContext) extends SQLContext(sc) {
306306

307307
proc match {
308308
case driver: Driver =>
309-
driver.init()
310309
val results = HiveShim.createDriverResultsArray
311310
val response: CommandProcessorResponse = driver.run(cmd)
312311
// Throw an exception if there is an error in query processing.

0 commit comments

Comments
 (0)