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

bit vector copyFromSafe is not doing realloc

    Details

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

      Description

      bit vector copyFromSafe simply returns false when asked to copy to an index greater than it's capacity. It should do realloc if needed and copy correctly.

      This bug is very subtle and shows up as random wrong result. allocateNew for bit vector allocates 4096 bytes initially and if we do copyFromSafe to any index greater than that, we basically do not do any copy, but just return false. 

        Attachments

          Activity

            People

            • Assignee:
              ppenumarthy Padma Penumarthy
              Reporter:
              ppenumarthy Padma Penumarthy
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: