mirror of https://github.com/apache/nifi.git
NIFI-6674 MinusEvaluator throws an Arithmetic Exception in case of Long overflow.
TestQuery checks that Long overflow is detected and Double overflow is correctly promoted to NEGATIVE_INFINITY MinusEvaluator throws an Arithmetic Exception in case of Long overflow. TestQuery checks that Long overflow is detected and Double overflow is correctly promoted to NEGATIVE_INFINITY The behaviour change is reverted until further investigations. The overflow behaviour is still enforced by unit tests and documented in the expression language doc fixed mispositioned # in doc This closes #3740 Signed-off-by: Mike Thomsen <mthomsen@apache.org>
This commit is contained in:
parent
1ba8f76a44
commit
788f8b0389
|
@ -2001,7 +2001,7 @@ Divide. This is to preserve backwards compatibility and to not force rounding er
|
|||
[.function]
|
||||
=== minus
|
||||
|
||||
*Description*: [.description]#Subtracts a numeric value from the Subject.#
|
||||
*Description*: [.description]#Subtracts a numeric value from the Subject. Does not provide handling for overflow.#
|
||||
|
||||
*Subject Type*: [.subject]#Number or Decimal#
|
||||
|
||||
|
|
Loading…
Reference in New Issue