spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sun Rui (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-12104) collect() does not handle multiple columns with same name
Date Thu, 03 Dec 2015 02:04:11 GMT

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

Sun Rui commented on SPARK-12104:
---------------------------------

I will investigate it

> collect() does not handle multiple columns with same name
> ---------------------------------------------------------
>
>                 Key: SPARK-12104
>                 URL: https://issues.apache.org/jira/browse/SPARK-12104
>             Project: Spark
>          Issue Type: Bug
>          Components: SparkR
>    Affects Versions: 1.6.0
>            Reporter: Hossein Falaki
>            Priority: Critical
>
> This is a regression from Spark 1.5
> Spark can produce DataFrames with identical names (e.g., after left outer joins). In
1.5 when such a DataFrame was collected we ended up with an R data.frame with modified column
names:
> {code}
> > names(mySparkDF)
> [1] "date"   "name"   "name" 
> > names(collect(mySparkDF))
> [1] "date"   "name"   "name.1" 
> {code}
> But in 1.6 only the first column is included in the collected R data.frame. I think SparkR
should continue the old behavior.



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


Mime
View raw message