You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Chun Chang (JIRA)" <ji...@apache.org> on 2014/04/30 21:08:18 UTC
[jira] [Created] (DRILL-606) double cast for decimals fails
Chun Chang created DRILL-606:
--------------------------------
Summary: double cast for decimals fails
Key: DRILL-606
URL: https://issues.apache.org/jira/browse/DRILL-606
Project: Apache Drill
Issue Type: Bug
Reporter: Chun Chang
postgres:
foodmart=# select c_row, c_decimal38, cast(cast(c_decimal38 as decimal(38,10)) as decimal(18,7)) from data where c_row = 9;
c_row | c_decimal38 | c_decimal38
-------+---------------------+-------------------
9 | 123456789.123456789 | 123456789.1234568
(1 row)
drill:
0: jdbc:drill:schema=dfs> select c_row, c_decimal38, cast(cast(c_decimal38 as decimal(38,10)) as decimal(18,7)) from data where c_row = 9;
Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "1314b28c-90ac-4e47-b38e-e7f36bb2ca99"
endpoint {
address: "qa-node119.qa.lab"
user_port: 31010
control_port: 31011
data_port: 31012
}
error_type: 0
message: "Failure while running fragment. < UnsupportedOperationException:[ DECIMAL38DENSE ]"
]
Error: exception while executing query (state=,code=0)
--
This message was sent by Atlassian JIRA
(v6.2#6252)