Github user marmbrus commented on a diff in the pull request:

    https://github.com/apache/spark/pull/6356#discussion_r38986467
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala ---
    @@ -188,9 +192,11 @@ 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): 
sparkexecution.QueryExecution =
    +    executePlan(parseSql(sql))
     
    -  protected[sql] def executePlan(plan: LogicalPlan) = new 
this.QueryExecution(plan)
    +  protected[sql] def executePlan(plan: LogicalPlan) =
    +    new sparkexecution.QueryExecution(this, plan)
    --- End diff --
    
    I'd consider just spelling this out instead of using an aliased package to 
make it a little easier to follow.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to