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

Repeated Map Vector does not give correct payload bytecount.

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.12.0
    • 1.14.0
    • Execution - Flow
    • None

    Description

      Repeated Map Vector does not give correct payload byte count. It calls abstractMapVector method which gives payload byte count for a given value count for simple map (non repetitive) case. We need to overload this method for repeated map to get the right numbers. 

      Also, Repeated Map and Repeated List vectors implement RepeatedFixedWidthVectorLike and that causes problems when doing memory allocation with AllocationHelper routines for those vectors. 

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ppenumarthy Padma Penumarthy
            ppenumarthy Padma Penumarthy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment