[
https://issues.apache.org/jira/browse/DRILL-4248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alfie You closed DRILL-4248.
----------------------------
Resolution: Not A Problem
> CONVERT_FROM/BYTE_SUBSTR does not work with long string match in WHERE block
> ----------------------------------------------------------------------------
>
> Key: DRILL-4248
> URL: https://issues.apache.org/jira/browse/DRILL-4248
> Project: Apache Drill
> Issue Type: Bug
> Components: Client - CLI, Functions - Drill
> Affects Versions: 1.2.0
> Reporter: Alfie You
>
> I use SQLLINE to make a HBASE query on CLI.
> My query like this works:
> ... WHERE CONVERT_FROM(BYTE_SUBSTR(row_key, 26, 10), 'UTF8') like
> '100004643%'...
> But query like this report error:
> ... WHERE CONVERT_FROM(BYTE_SUBSTR(row_key, 26, 10), 'UTF8') like
> '1000046436'...
> Error: SYSTEM ERROR: NegativeArraySizeException
> Fragment 0:0
> [Error Id: 63a1ed6f-22ce-4cc8-a5c1-4fef420bf5b7 on <host>:<port>]
> (state=,code=0)
> What I see is if the string after like have more than 10 chars, it will
> report the error.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)