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

Reallocation in OffHeapColumnVector.reserveInternal corrupts array data

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.1, 2.3.0
    • Component/s: SQL
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: