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

EVF incorrectly sets buffer writer index after rollover

    XMLWordPrintableJSON

    Details

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

      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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: