[
https://issues.apache.org/jira/browse/SPARK-12104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15036791#comment-15036791
]
Shivaram Venkataraman commented on SPARK-12104:
-----------------------------------------------
Any ideas what caused this ?
> 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: [email protected]
For additional commands, e-mail: [email protected]