ABS (Lakehouse v2)
Returns the absolute value of a number.
Analyze Syntax
Section titled “Analyze Syntax”func.abs(<x>)Analyze Examples
Section titled “Analyze Examples”func.abs(-5)
┌───┐│ 5 │└───┘SQL Syntax
Section titled “SQL Syntax”ABS(<x>)SQL Examples
Section titled “SQL Examples”SELECT ABS(-5);
┌───┐│ 5 │└───┘