You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Deneche A. Hakim (JIRA)" <ji...@apache.org> on 2015/05/16 00:15:02 UTC

[jira] [Commented] (DRILL-2619) Unsupported implicit casts should throw a proper error message

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

Deneche A. Hakim commented on DRILL-2619:
-----------------------------------------

In 1.0.0 the error message has more information but it still need to be improved:
{noformat}
0: jdbc:drill:zk=local> select columns[9] from `fewtypes_null.tbl` where columns[0] = 6;
Error: SYSTEM ERROR: java.lang.NumberFormatException: null

Fragment 0:0

[Error Id: 7f151398-06ec-4c44-af24-15bde1af4f4c on abdel-11.qa.lab:31010] (state=,code=0)
{noformat}

> Unsupported implicit casts should throw a proper error message
> --------------------------------------------------------------
>
>                 Key: DRILL-2619
>                 URL: https://issues.apache.org/jira/browse/DRILL-2619
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Data Types
>            Reporter: Rahul Challapalli
>            Assignee: Deneche A. Hakim
>            Priority: Minor
>              Labels: error_message_must_fix
>             Fix For: 1.1.0
>
>         Attachments: fewtypes_null.tbl
>
>
> git.commit.id.abbrev=c11fcf7
> When I have a where clause with an implicit cast, I get back a wierd message which does not indicate the problem
> {code}
> select columns[9] from `fewtypes_null.tbl` where columns[0] = 6;
> Query failed: RemoteRpcException: Failure while running fragment., null [ 0faf63c5-cdca-4b5b-a2ab-5f3ef02d5c9b on qa-node191.qa.lab:31010 ]
> [ 0faf63c5-cdca-4b5b-a2ab-5f3ef02d5c9b on qa-node191.qa.lab:31010 ]
> {code}
> Attached the stacktrace. Let me know if you need anything more.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)