str_to_map
function
Applies to: Databricks SQL
Databricks Runtime
Creates a map after splitting the input into key-value pairs using delimiters.
Arguments
expr
: An STRING expression.pairDelim
: An optional STRING literal defaulting to','
that specifies how to to split entries.keyValueDelim
: An optional STRING literal defaulting to':'
that specifies how to split each key-value pair.