You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by actuaryzhang <gi...@git.apache.org> on 2017/03/04 03:01:44 UTC
[GitHub] spark issue #17159: [SPARK-19818][SparkR] union should check for name consis...
Github user actuaryzhang commented on the issue:
https://github.com/apache/spark/pull/17159
The current implementation accepts data frames with different schemas. See issues below:
```
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
```
@felixcheung
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org