Is your feature request related to a problem or challenge?
After #11224, we have ScalarValue::Map for MapArray. It's better to have a scalar function for it.
Describe the solution you'd like
It would be similar to the make_array and struct functions. I guess it will accept two arrays to construct a map value. Something like
map(key_array, value_array, key_array2, value_array2 ... )
Describe alternatives you've considered
No response
Additional context
No response
Is your feature request related to a problem or challenge?
After #11224, we have
ScalarValue::MapforMapArray. It's better to have a scalar function for it.Describe the solution you'd like
It would be similar to the
make_arrayandstructfunctions. I guess it will accept two arrays to construct a map value. Something likeDescribe alternatives you've considered
No response
Additional context
No response