drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aditya Kishore (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-2567) CONVERT_FROM in where clause cause the query to fail in planning phase
Date Wed, 25 Mar 2015 22:02:53 GMT

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

Aditya Kishore updated DRILL-2567:
----------------------------------
    Attachment: DRILL-2567-CONVERT_FROM-in-where-clause-cause-the-qu.patch

Submitting patch with the simple fix.

> CONVERT_FROM in where clause cause the query to fail in planning phase
> ----------------------------------------------------------------------
>
>                 Key: DRILL-2567
>                 URL: https://issues.apache.org/jira/browse/DRILL-2567
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - HBase
>    Affects Versions: 0.8.0
>         Environment: MapR Sandbox 4.0.2
>            Reporter: Sudhakar Thota
>            Assignee: Aditya Kishore
>            Priority: Critical
>         Attachments: DRILL-2567-CONVERT_FROM-in-where-clause-cause-the-qu.patch, drill.log
>
>
> CONVERT_FROM used in predicate results in error like mentioned under. The drill log file
with error is attached.
> 0: jdbc:drill:> select CONVERT_FROM(t.row_key, 'INT') rk from maprdb.myLittleHBaseTable
t where CONVERT_FROM(t.row_key, 'INT')=1001 limit 1;
> Query failed: IndexOutOfBoundsException: writerIndex(4) + minWritableBytes(4) exceeds
maxCapacity(4): UnpooledHeapByteBuf(ridx: 0, widx: 4, cap: 4/4)
> Error: exception while executing query: Failure while executing query. (state=,code=0)



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

Mime
View raw message