REGEXP_SPLIT (Lakehouse v2)
Splits a string by a regular expression pattern and returns an array of substrings.
Analyze Syntax
Section titled “Analyze Syntax”func.regexp_split('one1two2three', '[0-9]')Analyze Examples
Section titled “Analyze Examples”func.regexp_split('one1two2three', '[0-9]')
┌───────────────────────┐│ ["one","two","three"] │└───────────────────────┘SQL Syntax
Section titled “SQL Syntax”REGEXP_SPLIT(<str>, <pattern>)SQL Examples
Section titled “SQL Examples”SELECT REGEXP_SPLIT('one1two2three', '[0-9]');
┌───────────────────────┐│ ["one","two","three"] │└───────────────────────┘