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)

Reply via email to