STRUCT functions

Updated at:
Copy as MD

MaxCompute supports four complex data types: ARRAY, MAP, STRUCT, and JSON. Use STRUCT functions to access, expand, and construct STRUCT-type data.

Description

Description

FIELD

Returns the value of a STRUCT member variable.

INLINE

Expands the specified STRUCT array into rows and columns, where each array element corresponds to a row and each STRUCT element corresponds to a column.

NAMED_STRUCT

Creates a STRUCT from specified name-value pairs.

STRUCT

Creates a STRUCT from specified values.