[ https://issues.apache.org/jira/browse/NIFI-6674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17115933#comment-17115933 ]
ASF subversion and git services commented on NIFI-6674: ------------------------------------------------------- Commit 788f8b0389f989436c937214b9d01a901bac2f06 in nifi's branch refs/heads/master from Alessandro D'Armiento [ https://gitbox.apache.org/repos/asf?p=nifi.git;h=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 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 <mthom...@apache.org> > Expression language minus operation doesn't check for overflow > -------------------------------------------------------------- > > Key: NIFI-6674 > URL: https://issues.apache.org/jira/browse/NIFI-6674 > Project: Apache NiFi > Issue Type: Bug > Reporter: Alessandro D'Armiento > Priority: Major > Fix For: 1.9.2 > > Attachments: image-2019-09-14-17-51-41-809.png > > Time Spent: 1h > Remaining Estimate: 0h > > To reproduce the bug, create a FF with an attribute equals to Long.MIN, then > subtract 100 to that attribute in a following UpdateAttribute processor. The > property will overflow to a positive number without throwing any exception > !image-2019-09-14-17-51-41-809.png! -- This message was sent by Atlassian Jira (v8.3.4#803005)