mgaido91 opened a new pull request #23450: [SPARK-26078][SQL][BACKPORT-2.3] 
Dedup self-join attributes on IN subqueries
URL: https://github.com/apache/spark/pull/23450
 
 
   ## What changes were proposed in this pull request?
   
   When there is a self-join as result of a IN subquery, the join condition may 
be invalid, resulting in trivially true predicates and return wrong results.
   
   The PR deduplicates the subquery output in order to avoid the issue.
   
   ## How was this patch tested?
   
   added UT

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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