ARRAY_CONSTRUCT_COMPACT

functionsupportedCore SQL functions

docs.snowflake.com ↗

Semi-structured and structured data functions

Returns an array constructed from zero, one, or more inputs; the constructed array omits any NULL input values.

Syntax

supportedpartialnot supportednot scored

ARRAY_CONSTRUCT_COMPACT( [ <expr1> ] [ , <expr2> [ , ... ] ] )

Parameters

NameRequiredDescription
expr#requiredThese are the input expressions to evaluate; the resulting values are put into the array. The expressions do not all need to evaluate to the same data type.

Returns

The data type of the returned value is ARRAY.

Usage notes

See also

Referenced by