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

Vector reAlloc may fails after exchange.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Resolved
    • 1.16.0
    • 1.17.0
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: