[ 
https://issues.apache.org/jira/browse/NIFI-11719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Philipp Korniets updated NIFI-11719:
------------------------------------
    Description: 
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 following functions:
*  multiply(/field1, /field2)
*  divide(/field1, /field2)
*  add(/field1, /field2)
*  subtract(/field1, /field2)

Current workaround is to use QueryRecord, but for simple operations like above 
- its quite heavy.

Real world scenario:
We have SharePrice in EUR, FXRate EUR/USD - we need to get SharePrice in USD.


  was:
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 following functions:
*  multiply(/field1, /field2)
*  divide(/field1, /field2)
*  add(/field1, /field2)
*  subtract(/field1, /field2)

Current workaround is to use QueryRecord

Real world scenario:
We have SharePrice in EUR, FXRate EUR/USD - we need to get SharePrice in USD.



> Record Path 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
>            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 following functions:
> *  multiply(/field1, /field2)
> *  divide(/field1, /field2)
> *  add(/field1, /field2)
> *  subtract(/field1, /field2)
> Current workaround is to use QueryRecord, but for simple operations like 
> above - its quite heavy.
> Real world scenario:
> We have SharePrice in EUR, FXRate EUR/USD - we need to get SharePrice in USD.



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

Reply via email to