mgaido91 commented on a change in pull request #23531: [SPARK-24497][SQL]
Support recursive SQL query
URL: https://github.com/apache/spark/pull/23531#discussion_r322111909
##########
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:
I am wondering whether we can avoid to pass the QueryExecution at all...I
see it is needed for sending events...I am wondering whether we can leave that
out too for the moment...
----------------------------------------------------------------
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]