TRANSLATE (Lakehouse v2)
Substitui caracteres de uma string com base em um mapeamento de caracteres.
Sintaxe do Analyze
Seção intitulada “Sintaxe do Analyze”func.translate(<str>, <from>, <to>)Exemplos do Analyze
Seção intitulada “Exemplos do Analyze”func.translate('hello', 'el', 'ip')
┌─────────┐│ 'hippo' │└─────────┘Sintaxe SQL
Seção intitulada “Sintaxe SQL”TRANSLATE(<str>, <from>, <to>)Exemplos de SQL
Seção intitulada “Exemplos de SQL”SELECT TRANSLATE('hello', 'el', 'ip');
┌───────┐│ hippo │└───────┘