You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Michael Armbrust (JIRA)" <ji...@apache.org> on 2015/08/12 20:58:45 UTC

[jira] [Resolved] (SPARK-9726) PySpark Regression: DataFrame join no longer accepts None as join expression

     [ https://issues.apache.org/jira/browse/SPARK-9726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Armbrust resolved SPARK-9726.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.0

Issue resolved by pull request 8016
[https://github.com/apache/spark/pull/8016]

> PySpark Regression: DataFrame join no longer accepts None as join expression
> ----------------------------------------------------------------------------
>
>                 Key: SPARK-9726
>                 URL: https://issues.apache.org/jira/browse/SPARK-9726
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark
>    Affects Versions: 1.5.0
>            Reporter: Brennan Ashton
>             Fix For: 1.5.0
>
>
> The patch to add methods to support equi-join broke joins where on is None.  Rather than ending the branch  with  jdf = self._jdf.join(other._jdf)  it continues to another branch where it fails because you cannot take the index of None.    if isinstance(on[0], basestring):
> This was valid in 1.4.1:
> df3 = df.join(df2,on=None) 
> This is a trivial fix in the attached PR.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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