[
https://issues.apache.org/jira/browse/DRILL-6596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16541035#comment-16541035
]
ASF GitHub Bot commented on DRILL-6596:
---------------------------------------
parthchandra opened a new pull request #1377: DRILL-6596: Fix fillEmpties and
set methods for Nullable variable length
URL: https://github.com/apache/drill/pull/1377
vectors to not use emptyByteArray
@sohami please review
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> 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
> Priority: Major
>
> 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)