MINUS(Lakehouse v1)
数値の符号を反転します。
Analyze 構文
Section titled “Analyze 構文”func.minus( <x> )Analyze の例
Section titled “Analyze の例”func.minus(func.pi())
┌─────────────────────────┐│ func.minus(func.pi()) │├─────────────────────────┤│ -3.141592653589793 │└─────────────────────────┘SQL 構文
Section titled “SQL 構文”MINUS( <x> )SQL の例
Section titled “SQL の例”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 │└───────────────────────────────────────────────────────────────────────────────────┘