Rajesh Balamohan created HIVE-21431:
---------------------------------------
Summary: 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
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)