fn map_from_key_values(
key: ListRef<'_>,
value: ListRef<'_>,
) -> Result<MapValue, ExprError>
Expand description
ยงExample
query T
select map_from_key_values(null::int[], array[1,2,3]);
----
NULL
query T
select map_from_key_values(array['a','b','c'], array[1,2,3]);
----
{a:1,b:2,c:3}