leanken commented on pull request #29104:
URL: https://github.com/apache/spark/pull/29104#issuecomment-661663720


   > canEvaluate
   
   ```
   join.scala has restricted rules about left anti join build side
   
   def canBuildLeft(joinType: JoinType): Boolean = {
       joinType match {
         case _: InnerLike | RightOuter => true
         case _ => false
       }
     }
   
     def canBuildRight(joinType: JoinType): Boolean = {
       joinType match {
         case _: InnerLike | LeftOuter | LeftSemi | LeftAnti | _: ExistenceJoin 
=> true
         case _ => false
       }
     }
   ```


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