MAP_FROM_ARRAYS
Overview
Constructs a MAP type using two arrays as keys and values respectively. The two arrays must have strictly equal lengths.
Syntax
Parameters
<keys>: ARRAY<K> type, the array of keys.<values>: ARRAY<V> type, the array of values. Must have the same length as<keys>; values may be NULL. If either argument is NULL, the result is NULL.
Examples
Related Documentation
- MAP_FROM_ENTRIES — Construct a MAP from an array of key-value pairs
- MAP_KEYS — Extract the key array from a MAP
- MAP_VALUES — Extract the value array from a MAP
