Skip to content

Commit 7ce6713

Browse files
committed
Address comments
1 parent 058feeb commit 7ce6713

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

R/pkg/R/DataFrame.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2714,12 +2714,12 @@ setMethod("unionAll",
27142714
union(x, y)
27152715
})
27162716

2717-
#' Return a new SparkDataFrame containing the union of rows
2717+
#' Return a new SparkDataFrame containing the union of rows, matched by column names
27182718
#'
27192719
#' Return a new SparkDataFrame containing the union of rows in this SparkDataFrame
2720-
#' and another SparkDataFrame. This is different from both \code{UNION ALL} and
2721-
#' \code{UNION DISTINCT} in SQL as column positions are not taken into account.
2722-
#' Input SparkDataFrames can have different data types in the schema.
2720+
#' and another SparkDataFrame. This is different from \code{union} function, and both
2721+
#' \code{UNION ALL} and \code{UNION DISTINCT} in SQL as column positions are not taken
2722+
#' into account. Input SparkDataFrames can have different data types in the schema.
27232723
#'
27242724
#' Note: This does not remove duplicate rows across the two SparkDataFrames.
27252725
#' This function resolves columns by name (not by position).

0 commit comments

Comments
 (0)