viirya commented on a change in pull request #34051:
URL: https://github.com/apache/spark/pull/34051#discussion_r715285748



##########
File path: sql/core/src/main/scala/org/apache/spark/sql/execution/subquery.scala
##########
@@ -157,7 +161,8 @@ case class InSubqueryExec(
       child = child.canonicalized,
       plan = plan.canonicalized.asInstanceOf[BaseSubqueryExec],
       exprId = ExprId(0),
-      resultBroadcast = null)
+      resultBroadcast = null,
+      result = null)

Review comment:
       I tried to move it out of constructor, but there was some errors about 
`result` is null at the moment of preparing result. There might be some where 
we do `copy` it. In the case, we will lose `result` value.




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

To unsubscribe, e-mail: [email protected]

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