I looked at the docs and it says the following join types are supported:
Type of join to perform. Default inner. Must be one of: inner, cross, outer, full, full_outer, left, left_outer, right, right_outer, left_semi, left_anti.
I looked at the StackOverflow answer on SQL joins and top couple of answers do not mention some of the joins from above e.g. left_semi
and left_anti
. What do they mean in Spark?
Here is a simple illustrative experiment:
Output