liukun4515 commented on PR #4327:
URL: 
https://github.com/apache/arrow-datafusion/pull/4327#issuecomment-1325986491

   find a new bug for the `right semi` join again for `break` line 
https://github.com/liukun4515/arrow-datafusion/blob/d884bb50a312b7fb01d6e3ffd204919100ae3893/datafusion/core/src/physical_plan/joins/hash_join.rs#L857
   
   for example
   ```
   left 
   a  b
   1   2
   1   3
   2  4
   ```
   
   ```
   right
   a
   1
   ```
   with sql
   ```
   left  `right semi` join right on left.a=right.a and left.b!=2
   ```
   
   In the current code, we will get the empty result because of break in the 
`first match`
   


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

Reply via email to