[
https://issues.apache.org/jira/browse/DRILL-1138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aditya Kishore reassigned DRILL-1138:
-------------------------------------
Assignee: Aditya Kishore (was: DrillCommitter)
> 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
> Affects Versions: 0.4.0
> Reporter: Ramana Inukonda Nagaraj
> Assignee: Aditya Kishore
> Fix For: 0.4.0
>
> Attachments: DRILL-1138-Explicit-casting-to-boolean-fails.patch,
> DRILL-1138-Explicit-casting-to-boolean-fails.patch
>
>
> 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.3.4#6332)