split
function
Applies to: Databricks SQL
Databricks Runtime
Splits str
around occurrences that match regex
and returns an array with a length of at most limit
.
Arguments
str
: A STRING expression to be split.regexp
: A STRING expression that is a Java regular expression used to splitstr
.limit
: An optional INTEGER expression defaulting to 0 (no limit).