1b9fd67904
## What changes were proposed in this pull request? Currently in the grammar file, we have the joinType rule defined as following : ``` joinType : INNER? .... .... | LEFT SEMI | LEFT? ANTI ; ``` The keyword LEFT is optional for ANTI join even though its not optional for SEMI join. When using data frame interface join type "anti" is not allowed. The allowed types are "left_anti" or "leftanti" for anti joins. ~~In this PR, i am making the LEFT keyword mandatory for ANTI joins so it aligns better with the LEFT SEMI join in the grammar file and also the join types allowed from dataframe api.~~ This PR makes LEFT optional for SEMI join in .g4 and add "semi" and "anti" join types from dataframe. ~~I have not opened any JIRA for this as probably we may need some discussion to see if we are going to address this or not.~~ ## How was this patch tested? Modified the join type tests. Closes #23982 from dilipbiswal/join_fix. Authored-by: Dilip Biswal <dbiswal@us.ibm.com> Signed-off-by: Wenchen Fan <wenchen@databricks.com> |
||
---|---|---|
.. | ||
benchmarks | ||
src | ||
pom.xml |