SparkR (version 2.1.2)

explode: explode

Description

Creates a new row for each element in the given array or map column.

Usage

explode(x)

# S4 method for Column explode(x)

Arguments

x

Column to compute on

See Also

Other collection_funcs: array_contains, posexplode, size, sort_array

Examples

Run this code
# NOT RUN {
explode(df$c)
# }

Run the code above in your browser using DataLab