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

[nifi] branch master updated (0f4b79b -> 788f8b0)

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

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


    from 0f4b79b  NIFI-6255 NIFI-6287: Hash function for expression language and record path. NIFI-6255 NIFI-6287: Rebased to match the new expression language interface NIFI-6255 NIFI-6287: Fix wildcard imports and unused imports NIFI-6255 NIFI-6287: Move to the common codec DigetUtils Update commons-codec
     new b025117  NIFI-6672 PlusEvaluator 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
     new 1ba8f76  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
     new 788f8b0  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

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 nifi-docs/src/main/asciidoc/expression-language-guide.adoc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


[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

Posted by mt...@apache.org.
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#
 


[nifi] 01/03: NIFI-6672 PlusEvaluator 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

Posted by mt...@apache.org.
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 b0251178243650e3256a8b0649f0196c6868fcba
Author: Alessandro D'Armiento <al...@gmail.com>
AuthorDate: Sun Sep 15 17:20:44 2019 +0200

    NIFI-6672 PlusEvaluator 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
    
    The behaviour change is reverted until further investigations.
    The overflow behaviour is still enforced by unit tests and documented in the expression language doc
    NIFI-6672 Removed test code.
    
    This closes #3738
    
    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 56f80e3..2a7622d 100644
--- a/nifi-docs/src/main/asciidoc/expression-language-guide.adoc
+++ b/nifi-docs/src/main/asciidoc/expression-language-guide.adoc
@@ -1981,7 +1981,7 @@ Divide. This is to preserve backwards compatibility and to not force rounding er
 === plus
 
 *Description*: [.description]#Adds a numeric value to the Subject. If either the argument or the Subject cannot be
-	coerced into a Number, returns `null`.#
+	coerced into a Number, returns `null`. Does not provide handling for overflow.
 
 *Subject Type*: [.subject]#Number or Decimal#
 


[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

Posted by mt...@apache.org.
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#