You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Daniel Stieglitz (Jira)" <ji...@apache.org> on 2026/06/05 20:28:00 UTC

[jira] [Commented] (NIFI-11719) RecordPath to include math function

    [ https://issues.apache.org/jira/browse/NIFI-11719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18086474#comment-18086474 ] 

Daniel Stieglitz commented on NIFI-11719:
-----------------------------------------

It appears [~rjensen]  did an excellent job of adding divide and multiply in NIFI-15474. It looks like the only thing left then is to also include add and subtract which I try to take care of.

> 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
>
> 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)