[ 
https://issues.apache.org/jira/browse/HIVE-21431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16800660#comment-16800660
 ] 

Rajesh Balamohan edited comment on HIVE-21431 at 3/25/19 1:14 PM:
------------------------------------------------------------------

This may be reproducible with regex expressions. But with the following, i see 
wrong results as well with vectorization.
{noformat}
e.g 

WHEN x like '%radio%' THEN 'radio' 
WHEN x like '%tv%' THEN 'tv'
{noformat}


was (Author: rajesh.balamohan):
This may be reproducible with regex expressions. But with the following, i see 
wrong results as well.
{noformat}
e.g 

WHEN x like '%radio%' THEN 'radio' 
WHEN x like '%tv%' THEN 'tv'
{noformat}

> Vectorization: ltrim throws ArrayIndexOutOfBounds in corner cases
> -----------------------------------------------------------------
>
>                 Key: HIVE-21431
>                 URL: https://issues.apache.org/jira/browse/HIVE-21431
>             Project: Hive
>          Issue Type: Bug
>          Components: Vectorization
>    Affects Versions: 2.3.4
>            Reporter: Rajesh Balamohan
>            Assignee: Laszlo Bodor
>            Priority: Major
>
> In corner cases, {{ltrim}} with string columns throws 
> arraryindexoutofboundsexception with vectorization enabled. {{HIVE-19565}} 
> seem to fix corner cases.  But in another corner case, {{length[]}} was all 
> {{0}} and this causes {{-1}} to be returned in the length to be set in the 
> target vector. I will check if i can get a easier repro for this.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to