Alaksiej Ščarbaty created NIFI-14675:
----------------------------------------

             Summary: FIx precision loss in RecordPath number comparisons
                 Key: NIFI-14675
                 URL: https://issues.apache.org/jira/browse/NIFI-14675
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Alaksiej Ščarbaty
            Assignee: Alaksiej Ščarbaty


GreaterThanFilter, GreaterThanOrEqualFilter, LessThanFilter, 
LessThanOrEqualFilter convert incoming numbers to doubles, which introduces 
errors when comparing long numbers that exceed mantissa capacity for doubles.

Instead, if both numbers are long compatible: i.e. Long, Integer, Short and 
Byte, they should be compared as longs.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to