Skip to contents

Union two or more SparkDataFrames by row. As in R's rbind, this method requires that the input SparkDataFrames have the same column names.

Usage

rbind(..., deparse.level = 1)

# S4 method for SparkDataFrame
rbind(x, ..., deparse.level = 1)

Arguments

...

additional SparkDataFrame(s).

deparse.level

currently not used (put here to match the signature of the base implementation).

x

a SparkDataFrame.

Value

A SparkDataFrame containing the result of the union.

Details

Note: This does not remove duplicate rows across the two SparkDataFrames.

Note

rbind since 1.5.0

Examples

if (FALSE) {
sparkR.session()
unions <- rbind(df, df2, df3, df4)
}