MINUS (Lakehouse v1)
Inverte o sinal de um valor numérico.
Sintaxe do Analyze
Seção intitulada “Sintaxe do Analyze”func.minus( <x> )Exemplos do Analyze
Seção intitulada “Exemplos do Analyze”func.minus(func.pi())
┌─────────────────────────┐│ func.minus(func.pi()) │├─────────────────────────┤│ -3.141592653589793 │└─────────────────────────┘Sintaxe SQL
Seção intitulada “Sintaxe SQL”MINUS( <x> )Aliases
Seção intitulada “Aliases”Exemplos de SQL
Seção intitulada “Exemplos de 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 │└───────────────────────────────────────────────────────────────────────────────────┘