[
https://issues.apache.org/jira/browse/NIFI-11719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18066434#comment-18066434
]
Daniel Stieglitz commented on NIFI-11719:
-----------------------------------------
Based on current 2.8 NIFI documentation it looks like RecordPath does support
multiply and divide.
> 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
> 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)