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

ASF GitHub Bot commented on METRON-1037:
----------------------------------------

Github user mattf-horton commented on a diff in the pull request:

    https://github.com/apache/metron/pull/651#discussion_r127277799
  
    --- Diff: 
metron-stellar/stellar-common/src/main/java/org/apache/metron/stellar/dsl/functions/MathFunctions.java
 ---
    @@ -60,4 +60,38 @@ public boolean isInitialized() {
         }
       }
     
    +  @Stellar(name="POWER"
    +           ,description="Raises the number to a given power"
    +           ,params = {
    +                  "number - the number",
    +                  "power - the exponent to raise the number to"
    +                     }
    +           , returns="The power-th power of the number passed in."
    --- End diff --
    
    ditto: "The value of number to the given power."


> Stellar power function
> ----------------------
>
>                 Key: METRON-1037
>                 URL: https://issues.apache.org/jira/browse/METRON-1037
>             Project: Metron
>          Issue Type: Improvement
>    Affects Versions: 0.4.0
>            Reporter: Simon Elliston Ball
>
> Stellar does not currently have a power function. We should have a function 
> of the form POWER(number,power) named for consistency with SQL and Excel. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to