cloud-fan commented on code in PR #44833:
URL: https://github.com/apache/spark/pull/44833#discussion_r1462945570


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/ExistingRDD.scala:
##########
@@ -150,6 +150,7 @@ case class LogicalRDD(
   }
 
   override lazy val constraints: ExpressionSet = 
originConstraints.getOrElse(ExpressionSet())
+    .filterNot(SubqueryExpression.hasSubquery)

Review Comment:
   It makes sense as the checkpointed query has already been executed and we 
can't reuse the subquery result in the current query execution.



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