TRANSLATE (Lakehouse v2)
Substitui carateres numa cadeia com base num mapeamento de carateres.
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 SQL
Seção intitulada “Exemplos SQL”SELECT TRANSLATE('hello', 'el', 'ip');
┌───────┐│ hippo │└───────┘