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:
Alessandro D'Armiento 2019-09-15 18:20:33 +02:00 committed by Mike Thomsen
parent 1ba8f76a44
commit 788f8b0389
No known key found for this signature in database
GPG Key ID: 88511C3D4CAD246F
1 changed files with 1 additions and 1 deletions

View File

@ -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#