mgaido91 opened a new pull request #25145: [SPARK-28375][SQL] Make 
PullupCorrelatedPredicates idempotent
URL: https://github.com/apache/spark/pull/25145
 
 
   ## What changes were proposed in this pull request?
   
   Multiple runs of `PullupCorrelatedPredicates` can produce invalid plans. 
Indeed, when there is a `Subquery` with a `Filter` a second run removes the 
conditions pulled by the previous run and overwrites them to nothing.
   
   The PR avoids this issue and makes `PullupCorrelatedPredicates` idempotent.
   
   ## How was this patch tested?
   
   added UT
   
   Please review https://spark.apache.org/contributing.html before opening a 
pull request.
   

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

Reply via email to