[
https://issues.apache.org/jira/browse/NIFI-14675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17986354#comment-17986354
]
ASF subversion and git services commented on NIFI-14675:
--------------------------------------------------------
Commit d0c63ed7365045e597ee7f6e5dd5b3e420c97c4e in nifi's branch
refs/heads/main from Alaksiej Ščarbaty
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=d0c63ed736 ]
NIFI-14675 Improved support for Long literals in Record Path (#10030)
Signed-off-by: David Handermann <[email protected]>
> Better Long handling in RecordPath
> ----------------------------------
>
> Key: NIFI-14675
> URL: https://issues.apache.org/jira/browse/NIFI-14675
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Alaksiej Ščarbaty
> Assignee: Alaksiej Ščarbaty
> Priority: Major
>
> 1. precision loss
> 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.
> 2. long literals
> When using a long number in a RecordPath, a NumberFormatException occurs.
> If the number is quoted, everything works as expected.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)