[
https://issues.apache.org/jira/browse/NIFI-11719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18088361#comment-18088361
]
ASF subversion and git services commented on NIFI-11719:
--------------------------------------------------------
Commit ee81fc9f6b002f556cd7531f18a2e610ada283be in nifi's branch
refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=ee81fc9f6b0 ]
NIFI-11719 Included add and subtract math functions for RecordPath. (#11326)
> RecordPath to include math function
> -----------------------------------
>
> Key: NIFI-11719
> URL: https://issues.apache.org/jira/browse/NIFI-11719
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Reporter: Philipp Korniets
> Assignee: Daniel Stieglitz
> Priority: Major
> Fix For: 2.10.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Currently [NiFi Record Path
> |https://nifi.apache.org/docs/nifi-docs/html/record-path-guide.html] doesn't
> have any mathematical functions exposed
> It would be great to have at least following functions:
> * multiply(/field1, /field2)
> * divide(/field1, /field2)
> * add(/field1, /field2)
> * subtract(/field1, /field2)
> Current solution is to use QueryRecord, but for simple operations like above
> - its quite heavy.
> Real world scenario:
> We have fields:
> - SharePrice in EUR
> - FXRate EUR/USD
> We need to get SharePrice in USD.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)