[
https://issues.apache.org/jira/browse/DRILL-247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yash Sharma updated DRILL-247:
------------------------------
Attachment: DRILL-247.patch
New Patch on codegen implementation of Math functions.
https://reviews.apache.org/r/20482/
> 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
> Labels: patch
> Fix For: 1.0.0-rc1
>
> Attachments: DRILL-247.patch, DRILL-247.patch
>
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)