You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Philipp Korniets (Jira)" <ji...@apache.org> on 2023/06/19 09:09:00 UTC
[jira] [Updated] (NIFI-11719) Record Path to include math function
[ 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)