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

generic array

Domain

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

Categories

Usage

make_array([ expr_1, expr_2, ... ])

Argument

Type

Optional

Repeatable

Restrictions

expr

storable

yes

yes

none

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.