[ 
https://issues.apache.org/jira/browse/DRILL-525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Turton closed DRILL-525.
------------------------------
    Resolution: Information Provided

> POWER function with integer base and exponent returns decimal result 
> ---------------------------------------------------------------------
>
>                 Key: DRILL-525
>                 URL: https://issues.apache.org/jira/browse/DRILL-525
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>    Affects Versions: Future
>            Reporter: Krystal
>            Priority: Minor
>             Fix For: Future
>
>
> Ran the following query in drill:
> 0: jdbc:drill:schema=dfs> select power(12, 5) from dfs.`student` where rownum 
> = 10;
> +------------+
> |   EXPR$0   |
> +------------+
> | 248832.0   |
> +------------+
> Compared to postgres, mysql and oracle, they all returned an integer of 248832



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to