dongjoon-hyun commented on PR #60725:
URL: https://github.com/apache/spark/pull/60725#issuecomment-7032471580

   Thank you for the detailed review, @sarutak.
   
   - **Inner as-of join and external lookup join**: I reproduced the as-of 
query, which fails with `DIVIDE_BY_ZERO` while the `ON` clause form returns no 
row. I'd like to keep these two out of this PR, since their `Filter` cases 
split the conditions on their own (`split` for the as-of join, 
`splitLookupJoin` for the lookup join). I'll file a new JIRA issue for them, 
and the description mentions them now.
   - **`WHERE EXISTS (...)`**: Agreed, `RewritePredicateSubquery` places the 
other conjuncts below the left semi join it creates, so it is a different 
place. The description mentions it too.
   - **Equality over both sides that can fail**: I added it to the user-facing 
section. It is no longer a join key, so the query is planned as a nested loop 
join, and with `spark.sql.crossJoin.enabled=false` and a one-side join 
condition it fails with "Detected implicit cartesian product", as the comma 
join form already does. I confirmed both locally.
   - **Nit**: Fixed to "return the rows that the join and the filter keep".
   


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


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

Reply via email to