You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:13:56 UTC

[jira] [Resolved] (SPARK-19044) PySpark dropna() can fail with AnalysisException

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

Hyukjin Kwon resolved SPARK-19044.
----------------------------------
    Resolution: Incomplete

> PySpark dropna() can fail with AnalysisException
> ------------------------------------------------
>
>                 Key: SPARK-19044
>                 URL: https://issues.apache.org/jira/browse/SPARK-19044
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark, SQL
>            Reporter: Josh Rosen
>            Priority: Minor
>              Labels: bulk-closed
>
> In PySpark, the following fails with an AnalysisException:
> {code}
> v1 = spark.range(10)
> v2 = v1.crossJoin(v1)
> v2.dropna()
> {code}
> {code}
> AnalysisException: u"Reference 'id' is ambiguous, could be: id#66L, id#69L.;"
> {code}
> However, the equivalent Scala code works fine:
> {code}
> val v1 = spark.range(10)
> val v2 = v1.crossJoin(v1)
> v1.na.drop()
> {code}



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