RIGHT (Lakehouse v2)
Returns the rightmost N characters of a string.
Analyze Syntax
Section titled “Analyze Syntax”func.right(<str>, <len>)Analyze Examples
Section titled “Analyze Examples”func.right('StarRocks', 5)
┌─────────┐│ 'Rocks' │└─────────┘SQL Syntax
Section titled “SQL Syntax”RIGHT(<str>, <len>)SQL Examples
Section titled “SQL Examples”SELECT RIGHT('StarRocks', 5);
┌───────┐│ Rocks │└───────┘