[ https://issues.apache.org/jira/browse/HIVE-21431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16801287#comment-16801287 ]
Rajesh Balamohan commented on HIVE-21431: ----------------------------------------- Just realised that, this is not the right example. Plz ignore the example in this. I will check if i can get small repro for the ltrim issue. > 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)