impala_unnest: Unnest a complex column in an Impala table

View source: R/tbl_impala.R

impala_unnestR Documentation

Unnest a complex column in an Impala table

Description

impala_unnest() unnests a column of type ARRAY, MAP, or STRUCT in a tbl_impala. These column types are referred to as complex or nested types.

Usage

impala_unnest(data, col, ...)

Arguments

data

an object with class tbl_impala

col

the unquoted name of an ARRAY, MAP, or STRUCT column

...

ignored (included for compatibility)

Details

impala_unnest() currently can unnest only one column, can only be applied once to a tbl_impala, and must be applied to a tbl_impala representing an Impala table or view before applying any other operations.

Value

an object with class tbl_impala with the complex column unnested into two or more separate columns

See Also

Impala Complex Types


ianmcook/implyr documentation built on Feb. 10, 2024, 11:51 p.m.