Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-6596

Variable length vectors use unnecessary emptyByteArray to fill empties

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.14.0
    • Component/s: None
    • Labels:

      Description

      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. 

       

       

        Attachments

          Activity

            People

            • Assignee:
              parthc Parth Chandra
              Reporter:
              parthc Parth Chandra
              Reviewer:
              Paul Rogers

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment