TRIM (Lakehouse v2)
Removes leading and trailing whitespace or specified characters from a string.
Analyze Syntax
Section titled “Analyze Syntax”func.trim(<str>)Analyze Examples
Section titled “Analyze Examples”func.trim(' hello ')
┌─────────┐│ 'hello' │└─────────┘SQL Syntax
Section titled “SQL Syntax”TRIM(<str>)SQL Examples
Section titled “SQL Examples”SELECT TRIM(' hello ');
┌───────┐│ hello │└───────┘