Files
doc-exports/docs/dli/sqlreference/dli_08_15095.html
Su, Xiaomeng be9eabe464 dli_sqlreference_20250305
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
Co-committed-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
2025-03-25 09:06:21 +00:00

2.5 KiB

Value Construction Functions

Description

Table 1 Value construction functions

Value Construction Function

Description

-- implicit constructor with parenthesis (value1 [, value2]*)

Returns a row created from a list of values (value1, value2, ...). The implicit row constructor supports any expression as a field, but requires at least two fields. The explicit row constructor can handle any number of fields, but currently does not support all types of field expressions well.

ARRAY '[' value1 [, value2 ]* ']'

Returns an array created from a list of values (value1, value2, ...).

MAP '[' value1, value2 [, value3, value4 ]* ']'

Returns a map created from a list of key-value pairs ((value1, value2), (value3, value4), ...).