drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yash Sharma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-756) radians function on decimal28 fails with unsupported operation exception
Date Sat, 28 Jun 2014 12:04:24 GMT

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

Yash Sharma commented on DRILL-756:
-----------------------------------

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: Yash Sharma
>            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)

Mime
View raw message