You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Rahul Challapalli (JIRA)" <ji...@apache.org> on 2015/03/26 01:02:53 UTC

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

Rahul Challapalli created DRILL-2571:
----------------------------------------

             Summary: 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
            Reporter: Rahul Challapalli
            Assignee: Aditya Kishore


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=="} |

The below query fails :
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)