hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laszlo Bodor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-21431) Vectorization: ltrim throws ArrayIndexOutOfBounds in corner cases
Date Mon, 25 Mar 2019 21:19:00 GMT

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

Laszlo Bodor commented on HIVE-21431:
-------------------------------------

[~rajesh.balamohan]: the example you've mentioned is the same as in HIVE-21503, is it a duplicate
or you could give some examples which are specific to this jira: something ltrim related exception?

> 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)

Mime
View raw message