You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2019/03/08 00:27:00 UTC

[jira] [Commented] (SPARK-27096) Reconcile the join type support between data frame and sql interface

    [ https://issues.apache.org/jira/browse/SPARK-27096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16787358#comment-16787358 ] 

Apache Spark commented on SPARK-27096:
--------------------------------------

User 'dilipbiswal' has created a pull request for this issue:
https://github.com/apache/spark/pull/23982

> Reconcile the join type support between data frame and sql interface
> --------------------------------------------------------------------
>
>                 Key: SPARK-27096
>                 URL: https://issues.apache.org/jira/browse/SPARK-27096
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.4.0
>            Reporter: Dilip Biswal
>            Priority: Minor
>
> Currently in the grammar file, we have the joinType rule defined as following :
> {code:java}
> joinType
>  : INNER?
>  ....
>  ....
>  | LEFT SEMI
>  | LEFT? ANTI
>  ;
> {code:java}
>  {code}
> 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. We should also make LEFT optional for SEMI join and allow "semi" and "anti" join types from data frame.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org