You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Yash Sharma (JIRA)" <ji...@apache.org> on 2014/05/28 21:19:02 UTC

[jira] [Updated] (DRILL-247) Math Functions: rand, cbrt, exp, log(a), log(base,num), pi, degrees, radians

     [ 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

Added Patch

> Math Functions: rand, cbrt, exp, log(a), log(base,num), pi, degrees, radians
> ----------------------------------------------------------------------------
>
>                 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, 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)