Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-22092

Reallocation in OffHeapColumnVector.reserveInternal corrupts array data

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.2.1, 2.3.0
    • SQL
    • None

    Description

      OffHeapColumnVector.reserveInternal() will only copy already inserted values during reallocation if this.data != null. However, for vectors containing arrays, field data is disused and always equals null. Hence, the reallocation of array vector always causes data loss.

      Attachments

        Activity

          People

            ala.luszczak Ala Luszczak
            ala.luszczak Ala Luszczak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: