explode {SparkR}R Documentation

explode

Description

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

Usage

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

explode(x)

Arguments

x

Column to compute on

Note

explode since 1.5.0

See Also

Other collection_funcs: array_contains, array_contains, array_contains,Column-method; posexplode, posexplode, posexplode,Column-method; size, size, size,Column-method; sort_array, sort_array, sort_array,Column-method

Examples

## Not run: explode(df$c)

[Package SparkR version 2.2.0 Index]