You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2016/08/06 01:10:20 UTC
[jira] [Created] (HIVE-14451) Vectorization: Add byRef mode for
borrowed Strings in VectorDeserializeRow
Gopal V created HIVE-14451:
------------------------------
Summary: Vectorization: Add byRef mode for borrowed Strings in VectorDeserializeRow
Key: HIVE-14451
URL: https://issues.apache.org/jira/browse/HIVE-14451
Project: Hive
Issue Type: Improvement
Components: Vectorization
Reporter: Gopal V
In a majority of cases, when using the OptimizedHashMap, the references to the byte[] are immutable.
The hashmap result always allocates on boundary conditions, but never mutates a previous buffer.
Copying Strings out of the hashtable is entirely wasteful and it would be easy to know when the currentBytes is a borrowed slice from the original input.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)