You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Joseph Percivall (JIRA)" <ji...@apache.org> on 2016/10/13 16:32:20 UTC

[jira] [Commented] (NIFI-2791) Create a new Expression Language Function to support Java.lang.Math operations

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

Joseph Percivall commented on NIFI-2791:
----------------------------------------

With the pruning going on for 1.1.0 I'd like this to keep it's fix version. I have done much of the work for it already but it is blocked by NIFI-1662. So just need NIFI-1662 to be reviewed/merged (fix version of 1.1.0) and then I will rebase, finalize and open a PR. 

These go hand in hand and having this Math functionality will go a long way to facilitate numeric operations using EL.

> Create a new Expression Language Function to support Java.lang.Math operations
> ------------------------------------------------------------------------------
>
>                 Key: NIFI-2791
>                 URL: https://issues.apache.org/jira/browse/NIFI-2791
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Joseph Percivall
>            Assignee: Joseph Percivall
>             Fix For: 1.1.0
>
>
> Once EL is improved to support decimals (NIFI-1662) it will be desired to support higher level math functions than are currently implemented. The easiest way to do this is to provide access to the Math class[1]. This should provide all the building blocks necessary to do any desired operations on decimals.
> [1] https://docs.oracle.com/javase/7/docs/api/java/lang/Math.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)