TRANSLATE (Lakehouse v2)
Replaces characters in a string based on a character mapping.
Analyze Syntax
Section titled “Analyze Syntax”func.translate(<str>, <from>, <to>)Analyze Examples
Section titled “Analyze Examples”func.translate('hello', 'el', 'ip')
┌─────────┐│ 'hippo' │└─────────┘SQL Syntax
Section titled “SQL Syntax”TRANSLATE(<str>, <from>, <to>)SQL Examples
Section titled “SQL Examples”SELECT TRANSLATE('hello', 'el', 'ip');
┌───────┐│ hippo │└───────┘