GitHub user yucai opened a pull request:

    https://github.com/apache/spark/pull/11212

    [WIP][SQL] Decimal datatype support for pow

    Decimal datatype support for pow
    - when base is Decimal and exponent is integer(Byte, Short, Int), return 
Decimal
    - otherwise, return Double

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/yucai/spark decimal_for_pow

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/11212.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #11212
    
----
commit cce48076151403cf456493e5b3756bc7aa6e1713
Author: Yucai Yu <[email protected]>
Date:   2016-02-02T02:52:06Z

    Decimal support for pow

commit e353ab5ac36e53103def8f17171e805f5ad73872
Author: Yucai Yu <[email protected]>
Date:   2016-02-16T02:39:18Z

    Merge remote-tracking branch 'origin/master' into up_decimal

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to