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/06/28 14:04:25 UTC

[jira] [Comment Edited] (DRILL-756) radians function on decimal28 fails with unsupported operation exception

    [ https://issues.apache.org/jira/browse/DRILL-756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14046829#comment-14046829 ] 

Yash Sharma edited comment on DRILL-756 at 6/28/14 12:03 PM:
-------------------------------------------------------------

Not able to reproduce. Could you provide me with more info.
This is probably fixed as part of Mehant's decimal-type fix


was (Author: yash360@gmail.com):
Not able to reproduce. Could you provide me with more info.
This is probably fixed as part of Mahant's decimal-type fix

> radians function on decimal28 fails with unsupported operation exception
> ------------------------------------------------------------------------
>
>                 Key: DRILL-756
>                 URL: https://issues.apache.org/jira/browse/DRILL-756
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>    Affects Versions: Future
>            Reporter: Chun Chang
>            Assignee: Chun Chang
>            Priority: Minor
>             Fix For: Future
>
>
> drill:
> 0: jdbc:drill:schema=dfs> select radians(cast(c_decimal28 as decimal(28,9))) from data where c_row < 12;
> Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "15740859-e9e4-4f0e-84a6-063cf6985e15"
> endpoint {
>   address: "qa-node120.qa.lab"
>   user_port: 31010
>   control_port: 31011
>   data_port: 31012
> }
> error_type: 0
> message: "Failure while running fragment. < UnsupportedOperationException:[ DECIMAL28SPARSE ]"
> ]
> Error: exception while executing query (state=,code=0)
> postgres:
> foodmart=# select radians(cast(c_decimal28 as decimal(28,9))) from data where c_row < 12;
>         radians
> -----------------------
>                      0
>     0.0174532925199433
>       2154727.45198992
>         17453292.50249
>        -17453292.50249
>   1.74532925199433e-10
>  -1.74532925199433e-10
>       215.472745198992
>       2154727.45414465
>   1.74532925199433e+16
>  -1.74532925199433e+16
> (11 rows)



--
This message was sent by Atlassian JIRA
(v6.2#6252)