TRANSLATE (Lakehouse v2)
Remplace des caractères d’une chaîne selon une table de correspondance de caractères.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.translate(<str>, <from>, <to>)Exemples Analyze
Section intitulée « Exemples Analyze »func.translate('hello', 'el', 'ip')
┌─────────┐│ 'hippo' │└─────────┘Syntaxe SQL
Section intitulée « Syntaxe SQL »TRANSLATE(<str>, <from>, <to>)Exemples SQL
Section intitulée « Exemples SQL »SELECT TRANSLATE('hello', 'el', 'ip');
┌───────┐│ hippo │└───────┘