You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Felix Cheung (JIRA)" <ji...@apache.org> on 2017/03/07 05:56:33 UTC
[jira] [Resolved] (SPARK-19818) rbind should check for name
consistency of input data frames
[ https://issues.apache.org/jira/browse/SPARK-19818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Cheung resolved SPARK-19818.
----------------------------------
Resolution: Fixed
Assignee: Wayne Zhang
Fix Version/s: 2.2.0
Target Version/s: 2.2.0
> rbind should check for name consistency of input data frames
> ------------------------------------------------------------
>
> Key: SPARK-19818
> URL: https://issues.apache.org/jira/browse/SPARK-19818
> Project: Spark
> Issue Type: Bug
> Components: SparkR
> Affects Versions: 2.1.0
> Reporter: Wayne Zhang
> Assignee: Wayne Zhang
> Priority: Minor
> Labels: releasenotes
> Fix For: 2.2.0
>
>
> The current implementation accepts data frames with different schemas. See issues below:
> {code}
> df <- createDataFrame(data.frame(name = c("Michael", "Andy", "Justin"), age = c(1, 30, 19)))
> union(df, df[, c(2, 1)])
> name age
> 1 Michael 1.0
> 2 Andy 30.0
> 3 Justin 19.0
> 4 1.0 Michael
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org