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:57 UTC

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

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 1ba8f76a44bdf6fb3a6af8c74e678dd7d21ad70b
Author: Alessandro D'Armiento <al...@gmail.com>
AuthorDate: Sun Sep 15 18:05:15 2019 +0200

    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 <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 2a7622d..4ba1b1a 100644
--- a/nifi-docs/src/main/asciidoc/expression-language-guide.adoc
+++ b/nifi-docs/src/main/asciidoc/expression-language-guide.adoc
@@ -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#