cloud-fan commented on a change in pull request #32513:
URL: https://github.com/apache/spark/pull/32513#discussion_r638766755
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/internal/BaseSessionStateBuilder.scala
##########
@@ -310,8 +310,8 @@ abstract class BaseSessionStateBuilder(
/**
* Create a query execution object.
*/
- protected def createQueryExecution: LogicalPlan => QueryExecution = { plan =>
- new QueryExecution(session, plan)
+ protected def createQueryExecution: (LogicalPlan, Boolean) => QueryExecution
= {
+ (plan, isExecutingCommand) => QueryExecution(session, plan,
isExecutingCommand)
Review comment:
`new QueryExecution(session, plan, isExecutingCommand =
isExecutingCommand)`, and we don't need to add a new `apply` function
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]