Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove 'this' from 'QueryExecution' type declaration
  • Loading branch information
evacchi committed May 13, 2015
commit f6222676157f4ca137e8b24dfa7c20d40de70442
4 changes: 2 additions & 2 deletions sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,9 @@ class SQLContext(@transient val sparkContext: SparkContext)

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

protected[sql] def executeSql(sql: String): this.QueryExecution = executePlan(parseSql(sql))
protected[sql] def executeSql(sql: String): QueryExecution = executePlan(parseSql(sql))

protected[sql] def executePlan(plan: LogicalPlan) = new this.QueryExecution(plan)
protected[sql] def executePlan(plan: LogicalPlan) = new QueryExecution(plan)

@transient
protected[sql] val tlSession = new ThreadLocal[SQLSession]() {
Expand Down