Description
Ref: https://prestodb.io/docs/current/functions/map.html
Returns a map created from the given array of entries.
SELECT map_from_entries(ARRAY[(1, 'x'), (2, 'y')]); -- {1 -> 'x', 2 -> 'y'}
Ref: https://prestodb.io/docs/current/functions/map.html
Returns a map created from the given array of entries.
SELECT map_from_entries(ARRAY[(1, 'x'), (2, 'y')]); -- {1 -> 'x', 2 -> 'y'}