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

Vector reAlloc may fails after exchange.

    XMLWordPrintableJSON

    Details

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

      Description

      There are several methods that modify the BaseDataValueVector#data field.
      Some of them, such as BaseDataValueVector#exchange, do not change allocationSizeInBytes.
      Therefore, if BaseDataValueVector#exchange was executed for vectors with different size, *ValueVector#reAlloc may create a buffer of insufficient size.

        Attachments

        1. stacktrace.log
          6 kB
          Oleg Zinoviev

          Issue Links

            Activity

              People

              • Assignee:
                le.louch Oleg Zinoviev
                Reporter:
                le.louch Oleg Zinoviev
                Reviewer:
                Weijie Tong
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: