posexplode {SparkR}R Documentation

posexplode

Description

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

Usage

posexplode(x)

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

Arguments

x

Column to compute on

Note

posexplode since 2.1.0

See Also

Other collection_funcs: array_contains, explode, size, sort_array

Examples

## Not run: posexplode(df$c)

[Package SparkR version 2.2.2 Index]