Skip to content

Commit 47685cc

Browse files
committed
Update SQLContext.scala
1 parent 3bf710b commit 47685cc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ class SQLContext(@transient val sparkContext: SparkContext)
192192

193193
protected[sql] def parseSql(sql: String): LogicalPlan = ddlParser.parse(sql, false)
194194

195-
protected[sql] def executeSql(sql: String): sparkexecution.QueryExecution =
196-
executePlan(parseSql(sql))
195+
protected[sql] def executeSql(sql: String):
196+
org.apache.spark.sql.execution.QueryExecution = executePlan(parseSql(sql))
197197

198198
protected[sql] def executePlan(plan: LogicalPlan) =
199199
new sparkexecution.QueryExecution(this, plan)
@@ -787,7 +787,7 @@ class SQLContext(@transient val sparkContext: SparkContext)
787787
}.toArray
788788
}
789789

790-
@deprecated("use org.apache.spark.sql.SparkPlanner", "1.5.0")
790+
@deprecated("use org.apache.spark.sql.SparkPlanner", "1.6.0")
791791
protected[sql] class SparkPlanner extends sparkexecution.SparkPlanner(this)
792792

793793
@transient
@@ -838,7 +838,7 @@ class SQLContext(@transient val sparkContext: SparkContext)
838838
protected[sql] lazy val conf: SQLConf = new SQLConf
839839
}
840840

841-
@deprecated("use org.apache.spark.sql.QueryExecution", "1.5.0")
841+
@deprecated("use org.apache.spark.sql.QueryExecution", "1.6.0")
842842
protected[sql] class QueryExecution(logical: LogicalPlan)
843843
extends sparkexecution.QueryExecution(this, logical)
844844

0 commit comments

Comments
 (0)