Skip to content

Commit 3ece905

Browse files
committed
minor fix
1 parent 410b668 commit 3ece905

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,9 +284,6 @@ class HiveContext(sc: SparkContext) extends SQLContext(sc) {
284284
*/
285285
protected def runHive(cmd: String, maxRows: Int = 1000): Seq[String] = {
286286
try {
287-
// Session state must be initilized before the CommandProcessor is created .
288-
SessionState.start(sessionState)
289-
290287
val cmd_trimmed: String = cmd.trim()
291288
val tokens: Array[String] = cmd_trimmed.split("\\s+")
292289
val cmd_1: String = cmd_trimmed.substring(tokens(0).length()).trim()

0 commit comments

Comments
 (0)