All Products
Search
Document Center

MaxCompute:STRUCT function

Last Updated:Jul 23, 2025

MaxCompute supports four complex data types: ARRAY, MAP, STRUCT, and JSON. This topic describes the STRUCT type functions and their features.

Function

Feature

FIELD

Gets the value of a member variable in a STRUCT.

INLINE

Expands the specified STRUCT array. Each array element corresponds to a row, and each STRUCT element in a row corresponds to a column.

NAMED_STRUCT

Creates a STRUCT by using the specified Name and Value list.

STRUCT

Creates a STRUCT by using the specified Value list.