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:56 UTC
[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
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#