Ramana Inukonda Nagaraj created DRILL-1138:
----------------------------------------------
Summary: Explicit casting to boolean fails
Key: DRILL-1138
URL: https://issues.apache.org/jira/browse/DRILL-1138
Project: Apache Drill
Issue Type: Bug
Components: Execution - Data Types
Reporter: Ramana Inukonda Nagaraj
0: jdbc:drill:schema=dfs.TpcHMulti> select cast(C_CUSTKEY as boolean) as
booleantest from customer limit 1;
Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while
running query.[error_id: "c20bd69f-bb5c-443e-a01b-8571b4c86490"
endpoint {
address: "drillats1.qa.lab"
user_port: 31010
control_port: 31011
data_port: 31012
}
error_type: 0
message: "Failure while parsing sql. < IllegalArgumentException:[ No enum
constant org.apache.drill.common.types.TypeProtos.MinorType.BOOLEAN ]"
]
Error: exception while executing query (state=,code=0)
--
This message was sent by Atlassian JIRA
(v6.2#6252)