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 2015/12/03 05:17:11 UTC
[jira] [Assigned] (SPARK-12104) collect() does not handle multiple
columns with same name
[ https://issues.apache.org/jira/browse/SPARK-12104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-12104:
------------------------------------
Assignee: (was: Apache Spark)
> 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