REGEXP_SPLIT (Lakehouse v2)
Divide uma string por um padrão de expressão regular e retorna um array de substrings.
Sintaxe do Analyze
Seção intitulada “Sintaxe do Analyze”func.regexp_split('one1two2three', '[0-9]')Exemplos do Analyze
Seção intitulada “Exemplos do Analyze”func.regexp_split('one1two2three', '[0-9]')
┌───────────────────────┐│ ["one","two","three"] │└───────────────────────┘Sintaxe SQL
Seção intitulada “Sintaxe SQL”REGEXP_SPLIT(<str>, <pattern>)Exemplos de SQL
Seção intitulada “Exemplos de SQL”SELECT REGEXP_SPLIT('one1two2three', '[0-9]');
┌───────────────────────┐│ ["one","two","three"] │└───────────────────────┘