Details

    Description

      There was an issue on NPE in stream-stream join. SPARK-35659 fixed the issue “partially”, and the part of fix is to ignore the null value from the last index on swapping elements in the list so the null value in the last index is going to be effectively dropped. If it is due to out of sync between numValues and the actual number of elements, this works effectively as a correction.

      This unfortunately opens the possibility of another “correctness” issue; the reason we swap the value with last index is effectively to remove the value in the current index. Doing nothing in any case would mean “we don’t remove the value in the current index”, whereas the caller would expect the value as dropped, and even for outer join they may be emitted as left/right null join output while the value can be re-evaluated and emitted again.

      Attachments

        Activity

          People

            anishshri-db Anish Shrigondekar
            anishshri-db Anish Shrigondekar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: