make_array

Description

Returns an array constructed from zero, one or more input arguments. The arguments do not all need to be of the same type.

Return type

array

Domain

This is a scalar function (calculates a single output value for a single input row.)

Categories

Usage

make_array( [ expr ] ... )

Argument

Type

Required

Multiple

expr

any

Optional

Can be multiple

Examples

make_col arr:make_array()

Make a new column ‘arr’ consisting of an empty array.

make_col arr:make_array(1, "hello", true)

Make a new column ‘arr’ consisting of an array with three elements.