SparkR (version 2.1.2)

posexplode: posexplode

Description

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

Usage

posexplode(x)

# S4 method for Column posexplode(x)

Arguments

x

Column to compute on

See Also

Other collection_funcs: array_contains, explode, size, sort_array

Examples

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

Run the code above in your browser using DataLab