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

    https://github.com/apache/spark/pull/1238#discussion_r15206160
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/SparkPlan.scala ---
    @@ -66,8 +66,8 @@ abstract class SparkPlan extends QueryPlan[SparkPlan] 
with Logging {
      * linking.
      */
     @DeveloperApi
    -case class SparkLogicalPlan(alreadyPlanned: SparkPlan, tableName: String = 
"SparkLogicalPlan")
    -  extends BaseRelation with MultiInstanceRelation {
    +case class SparkLogicalPlan(alreadyPlanned: SparkPlan)(@transient 
sqlContext: SQLContext)
    --- End diff --
    
    FYI: I'm considering adding a way for all physical plans to automatically 
have a handle to the sqlContext.  This will probably happen in the code gen 
patch.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to