explode {SparkR}R Documentation

explode

Description

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

Usage

explode(x)

## S4 method for signature 'Column'
explode(x)

Arguments

x

Column to compute on

Note

explode since 1.5.0

See Also

Other collection_funcs: array_contains, posexplode, size, sort_array

Examples

## Not run: explode(df$c)

[Package SparkR version 2.1.3 Index]