nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (Jira)" <>
Subject [jira] [Commented] (NIFI-6673) Expression language multiply operation doesn't check for overflow
Date Mon, 25 May 2020 11:07:00 GMT


ASF subversion and git services commented on NIFI-6673:

Commit 1ba8f76a44bdf6fb3a6af8c74e678dd7d21ad70b in nifi's branch refs/heads/master from Alessandro
[;h=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

The behaviour change is reverted until further investigations.
The overflow behaviour is still enforced by unit tests and documented in the expression language

This closes #3739

Signed-off-by: Mike Thomsen <>

> Expression language multiply operation doesn't check for overflow
> -----------------------------------------------------------------
>                 Key: NIFI-6673
>                 URL:
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.9.2
>            Reporter: Alessandro D'Armiento
>            Priority: Major
>         Attachments: image-2019-09-14-17-38-19-397.png
>          Time Spent: 10m
>  Remaining Estimate: 0h
> To reproduce the bug, create a FF with an attribute equals to Long.MAX, then multiply
it by 2 to that attribute in a following UpdateAttribute processor. The property will overflow
to a negative number without throwing any exception
> !image-2019-09-14-17-38-19-397.png!

This message was sent by Atlassian Jira

View raw message