[
https://issues.apache.org/jira/browse/METRON-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16086048#comment-16086048
]
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_r127277470
--- Diff: metron-stellar/stellar-common/README.md ---
@@ -518,6 +519,13 @@ In the core language functions, we support basic
functional programming primitiv
* dateTime - The datetime as a long representing the milliseconds
since unix epoch
* Returns: The current month (0-based).
+### `POWER`
+ * Description: Raises the number to a given power.
+ * Input:
+ * number - the number
+ * power - the exponent to raise the number to
+ * Returns: The power-th power of the number passed in.
--- End diff --
Suggest: Returns: 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)