peter-toth commented on a change in pull request #23531: [SPARK-24497][SQL] 
Support recursive SQL query
URL: https://github.com/apache/spark/pull/23531#discussion_r322317092
 
 

 ##########
 File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/SparkPlanner.scala
 ##########
 @@ -47,7 +47,14 @@ class SparkPlanner(
       Window ::
       JoinSelection ::
       InMemoryScans ::
-      BasicOperators :: Nil)
+      BasicOperators(queryExecutionThreadLocal.get()) :: Nil)
+
+  private val queryExecutionThreadLocal = new ThreadLocal[QueryExecution]
 
 Review comment:
   Sure, we can remove this part, especially if it makes the PR unacceptable.
   
   @maropu @cloud-fan @maryannxue @gatorsmile do you have any comments on this 
or other parts of the PR?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to