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

Fix reverse function for array type of primitive type containing null.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • SQL
    • None

    Description

      If we use reverse function for array type of primitive type containing null and the child array is UnsafeArrayData, the function returns a wrong result because UnsafeArrayData doesn't define the behavior of re-assignment, especially we can't set a valid value after we set null.

      Attachments

        Activity

          People

            ueshin Takuya Ueshin
            ueshin Takuya Ueshin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: