cloud-fan commented on a change in pull request #31968:
URL: https://github.com/apache/spark/pull/31968#discussion_r613890448



##########
File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/QueryExecution.scala
##########
@@ -58,6 +58,12 @@ class QueryExecution(
 
   val id: Long = QueryExecution.nextExecutionId
 
+  private var _commandExecutionIdGenerated = false

Review comment:
       Let's try our best to avoid mutable states. It will make the system 
harder to reason about.




-- 
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]

Reply via email to