doc-exports/docs/dli/sqlreference/dli_08_0338.html
Su, Xiaomeng 04d4597cf3 dli_sqlreference_0511_version
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>
2023-11-02 14:34:08 +00:00

3.3 KiB

Value Construction Functions

Description

Table 1 Value construction functions

Function

Description

ROW(value1, [, value2]*)

(value1, [, value2]*)

Returns a row created from a list of values (value1, value2,…).

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

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

MAP '[' key1, value1 [, key2, value2]* ']'

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

The key-value pair is (key1, value1),(key2, value2).