From 788f8b0389f989436c937214b9d01a901bac2f06 Mon Sep 17 00:00:00 2001 From: Alessandro D'Armiento Date: Sun, 15 Sep 2019 18:20:33 +0200 Subject: [PATCH] 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 --- nifi-docs/src/main/asciidoc/expression-language-guide.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nifi-docs/src/main/asciidoc/expression-language-guide.adoc b/nifi-docs/src/main/asciidoc/expression-language-guide.adoc index 4ba1b1a4d8..354d1c286d 100644 --- a/nifi-docs/src/main/asciidoc/expression-language-guide.adoc +++ b/nifi-docs/src/main/asciidoc/expression-language-guide.adoc @@ -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#