We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 410b668 commit 3ece905Copy full SHA for 3ece905
sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala
@@ -284,9 +284,6 @@ class HiveContext(sc: SparkContext) extends SQLContext(sc) {
284
*/
285
protected def runHive(cmd: String, maxRows: Int = 1000): Seq[String] = {
286
try {
287
- // Session state must be initilized before the CommandProcessor is created .
288
- SessionState.start(sessionState)
289
-
290
val cmd_trimmed: String = cmd.trim()
291
val tokens: Array[String] = cmd_trimmed.split("\\s+")
292
val cmd_1: String = cmd_trimmed.substring(tokens(0).length()).trim()
0 commit comments