[
https://issues.apache.org/jira/browse/DRILL-247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13773839#comment-13773839
]
Ted Dunning commented on DRILL-247:
-----------------------------------
yash,
What reference are you using for picking functions and names?
It might be nice to find names common to, say, Oracle, Postgres and Sequel
Server.
> New Math Functions: log, sqrt, cbrt, rand, round, exp, e, pi, pow
> -----------------------------------------------------------------
>
> Key: DRILL-247
> URL: https://issues.apache.org/jira/browse/DRILL-247
> Project: Apache Drill
> Issue Type: Improvement
> Reporter: Yash Sharma
>
> Improving the math functions collection with more functions:
> log(a): the natural logarithm (base e) of an expression
> log10(a): base 10 logarithm
> sqrt(a): square root
> cbrt(a): cube root
> rand(): returns random number from 0-1.
> round(a)
> exp(a): exponential e^a
> e(): returns value of e
> pi(): returns value of pi
> pow(a, p): returns a^p
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira