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-6672) Expression language plus operation doesn't check for overflow
Date Mon, 25 May 2020 11:07:00 GMT


ASF subversion and git services commented on NIFI-6672:

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

The behaviour change is reverted until further investigations.
The overflow behaviour is still enforced by unit tests and documented in the expression language
NIFI-6672 Removed test code.

This closes #3738

Signed-off-by: Mike Thomsen <>

> Expression language plus operation doesn't check for overflow
> -------------------------------------------------------------
>                 Key: NIFI-6672
>                 URL:
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.9.2
>            Reporter: Alessandro D'Armiento
>            Priority: Major
>         Attachments: image-2019-09-14-17-32-58-740.png
>          Time Spent: 20m
>  Remaining Estimate: 0h
> To reproduce the bug, create a FF with an attribute equals to Long.MAX, then add 100
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-32-58-740.png!

This message was sent by Atlassian Jira

View raw message