You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Brennan Ashton (JIRA)" <ji...@apache.org> on 2015/08/07 03:47:46 UTC

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

Brennan Ashton created SPARK-9726:
-------------------------------------

             Summary: 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


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