Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
Description
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)
Attachments
Issue Links
- is duplicated by
-
DRILL-1109 Implement downward casting functions for decimal data type
- Resolved