You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jacques Nadeau (JIRA)" <ji...@apache.org> on 2014/07/21 04:49:42 UTC

[jira] [Commented] (DRILL-1138) Explicit casting to boolean fails

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

Jacques Nadeau commented on DRILL-1138:
---------------------------------------

fixed by e5c2da0 or earlier

> 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: 1.0.0-BETA1
>            Reporter: Ramana Inukonda Nagaraj
>            Assignee: DrillCommitter
>         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.2#6252)