Github user chenghao-intel commented on the pull request:

    https://github.com/apache/spark/pull/10563#issuecomment-171513310
  
    Says we have 2 tables src1(a Int, b Int), src2(a Int, b Int), and both of 
the tables rows are
    `(null, null)`
    When we do the query like `select * from src1 anti join src2 on 
src1.a>src2.a`, I think the expected output should be empty, but we will get 
`(null, null)` as the join condition returns `null` (as the `null` will be 
casted to `false` if we don't change the return type for `predicate`).
    
    `Semi join` is definitely will not fall in the category, as it always 
filter the rows with the join condition result be `true` (`null` or `false` is 
not a problem for it).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to