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

Value vectors report invalid value count

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0
    • Component/s: Execution - Data Types
    • Labels:
      None

      Description

      We maintain an exclusive value count variable in fixed vectors however we don't update it upon calling set/Safe. Accessor reports the value count from the variable ignoring values that are already in the buffer or written via set/Safe. This causes execution failures manifested as IOOB when underlying data is sparse. We should either remove the variable and report value count directly investigating the buffer if not computationally expensive or update the variable each time we make a write to the vector.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hgunes Hanifi Gunes
                Reporter:
                hgunes Hanifi Gunes
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: