NIFI-6673 MultiplyEvaluator throws an Arithmetic Exception in case of Long overflow.

TestQuery checks that Long overflow is detected and Double overflow is correctly promoted to POSITIVE_INFINITY or 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

This closes #3739

Signed-off-by: Mike Thomsen <mthomsen@apache.org>
This commit is contained in:
Alessandro D'Armiento 2019-09-15 18:05:15 +02:00 committed by Mike Thomsen
parent b025117824
commit 1ba8f76a44
No known key found for this signature in database
GPG Key ID: 88511C3D4CAD246F

View File

@ -2021,7 +2021,7 @@ Divide. This is to preserve backwards compatibility and to not force rounding er
[.function]
=== multiply
*Description*: [.description]#Multiplies a numeric value by the Subject and returns the product.#
*Description*: [.description]#Multiplies a numeric value by the Subject and returns the product.# Does not provide handling for overflow.
*Subject Type*: [.subject]#Number or Decimal#