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

EVF incorrectly sets buffer writer index after rollover

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

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.17.0
    • None

    Description

      A full test run, with vector validation enabled and with the "new" scan enabled, revealed the following in TestMockPlugin.testSizeLimit():

      comments_s20000 - VarCharVector: Row count = 838, but value count = 839
      

      Adding vector validation to the result set loader overflow tests reveals that the problem is in overflow. In TestResultSetLoaderOverflow.testOverflowWithNullables():

      a - RepeatedIntVector: Row count = 2952, but value count = 2953
      b - RepeatedVarCharVector: Row count = 2952, but value count = 2953
      b - RepeatedVarCharVector: Vector has 2953 values, but offset vector labels 32472 values
      c - RepeatedIntVector: Row count = 2952, but value count = 2953
      d - RepeatedIntVector: Row count = 2952, but value count = 2953
      

      The problem is that EVF incorrectly sets the offset buffer writer index after a rollover.

      Attachments

        Activity

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

          People

            paul-rogers Paul Rogers
            Paul.Rogers Paul Rogers
            Arina Ielchiieva Arina Ielchiieva
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment