You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Parth Chandra (JIRA)" <ji...@apache.org> on 2018/07/12 02:00:00 UTC

[jira] [Created] (DRILL-6596) Variable length vectors use unnecessary emptyByteArray to fill empties

Parth Chandra created DRILL-6596:
------------------------------------

             Summary: Variable length vectors use unnecessary emptyByteArray to fill empties
                 Key: DRILL-6596
                 URL: https://issues.apache.org/jira/browse/DRILL-6596
             Project: Apache Drill
          Issue Type: Bug
            Reporter: Parth Chandra


When writing to an index beyond the last index written to, Variable Length vectors set the 'empties' by writing a zero length byte array to the indexes that were skipped.

This is, as it turns out, sometimes an expensive operation, and is completely unnecessary as all that needs to be done is to set the offset vector correctly. 

 

 



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