MINUS (Lakehouse v1)
Negates a numeric value.
Analyze Syntax
Section titled “Analyze Syntax”func.minus( <x> )Analyze Examples
Section titled “Analyze Examples”func.minus(func.pi())
┌─────────────────────────┐│ func.minus(func.pi()) │├─────────────────────────┤│ -3.141592653589793 │└─────────────────────────┘SQL Syntax
Section titled “SQL Syntax”MINUS( <x> )Aliases
Section titled “Aliases”SQL Examples
Section titled “SQL Examples”SELECT MINUS(PI()), NEG(PI()), NEGATE(PI()), SUBTRACT(PI());
┌───────────────────────────────────────────────────────────────────────────────────┐│ minus(pi()) │ neg(pi()) │ negate(pi()) │ subtract(pi()) │├────────────────────┼────────────────────┼────────────────────┼────────────────────┤│ -3.141592653589793 │ -3.141592653589793 │ -3.141592653589793 │ -3.141592653589793 │└───────────────────────────────────────────────────────────────────────────────────┘