transform_values
function
Applies to: Databricks SQL Databricks Runtime
Transforms values in a map in expr
using the function func
.
Returns
A MAP where the values have the type of the result of the lambda functions and the keys have the type of the expr
MAP keys.
The lambda function must have 2 parameters. The first parameter represents the key. The second parameter represents the value.
The lambda function produces a new value for each entry in the map.