You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Chris Westin (JIRA)" <ji...@apache.org> on 2015/04/01 18:00:56 UTC

[jira] [Updated] (DRILL-2571) convert_from fails with ' Wrong length 1(1-0) in the buffer '1', expected 4.'

     [ https://issues.apache.org/jira/browse/DRILL-2571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Westin updated DRILL-2571:
--------------------------------
    Affects Version/s: 0.8.0

> convert_from fails with ' Wrong length 1(1-0) in the buffer '1', expected 4.'
> -----------------------------------------------------------------------------
>
>                 Key: DRILL-2571
>                 URL: https://issues.apache.org/jira/browse/DRILL-2571
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - HBase
>    Affects Versions: 0.8.0
>            Reporter: Rahul Challapalli
>            Assignee: Aditya Kishore
>            Priority: Critical
>         Attachments: dataload.hql, error.log
>
>
> git.commit.id.abbrev=f1b59ed
> Hbase :
> {code}
> create 'fewtypes_null', 'types'
> put 'fewtypes_null', 1, 'types:int_col', 1
> {code}
> Now from Drill :
> {code}
> select * from fewtypes_null;
> +------------+------------+
> |  row_key   |   types    |
> +------------+------------+
> | [B@2461ae9c | {"int_col":"MQ=="} |
> {code}
> The below query fails :
> {code}
> select convert_from(a.types.int_col, 'INT') from fewtypes_null a;
> Query failed: RemoteRpcException: Failure while running fragment., Wrong length 1(1-0) in the buffer '1', expected 4. [ f9a3bb31-bb19-428c-8c7d-99e1898e66e7 on qa-node114.qa.lab:31010 ]
> [ f9a3bb31-bb19-428c-8c7d-99e1898e66e7 on qa-node114.qa.lab:31010 ]
> {code}
> I attached the complete error from the logs. Let me know if you need anything else



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