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
: ASTRING
expression to be split.regexp
: ASTRING
expression that is a Java regular expression used to splitstr
.limit
: An optionalINTEGER
expression defaulting to 0 (no limit).