REPLACE (Lakehouse v2)
Substitui todas as ocorrências de uma substring por outra substring.
Sintaxe do Analyze
Seção intitulada “Sintaxe do Analyze”func.replace(<str>, <old>, <new>)Exemplos do Analyze
Seção intitulada “Exemplos do Analyze”func.replace('hello world', 'world', 'there')
┌───────────────┐│ 'hello there' │└───────────────┘Sintaxe SQL
Seção intitulada “Sintaxe SQL”REPLACE(<str>, <old>, <new>)Exemplos de SQL
Seção intitulada “Exemplos de SQL”SELECT REPLACE('hello world', 'world', 'there');
┌─────────────┐│ hello there │└─────────────┘