You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by mt...@apache.org on 2020/05/25 11:06:58 UTC

[nifi] 03/03: 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

This is an automated email from the ASF dual-hosted git repository.

mthomsen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi.git

commit 788f8b0389f989436c937214b9d01a901bac2f06
Author: Alessandro D'Armiento <al...@gmail.com>
AuthorDate: Sun Sep 15 18:20:33 2019 +0200

    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 <mt...@apache.org>
---
 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 4ba1b1a..354d1c2 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#