Description
Ref: https://prestodb.io/docs/current/functions/map.html
Returns a map created using the given key/value arrays.
SELECT map(ARRAY[1,3], ARRAY[2,4]); -- {1 -> 2, 3 -> 4}
Attachments
Issue Links
- links to
Ref: https://prestodb.io/docs/current/functions/map.html
Returns a map created using the given key/value arrays.
SELECT map(ARRAY[1,3], ARRAY[2,4]); -- {1 -> 2, 3 -> 4}