[jira] [Updated] (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 updated SPARK-19818: - Labels: releasenotes (was: ) > 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 >Priority: Minor > Labels: releasenotes > > 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 > 2Andy30.0 > 3 Justin19.0 > 4 1.0 Michael > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Updated] (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 updated SPARK-19818: - Summary: rbind should check for name consistency of input data frames (was: SparkR union should check for name consistency of input data frames ) > 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 >Priority: Minor > > 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 > 2Andy30.0 > 3 Justin19.0 > 4 1.0 Michael > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org