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

UnsafeExternalSorter.SpillableIterator cannot spill when there are NULLs in the input and radix sorting is used.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.7, 3.0.1
    • Fix Version/s: 2.4.8, 3.0.2, 3.1.0
    • Component/s: Spark Core
    • Labels:
      None

      Description

      In order to determine whether UnsafeExternalSorter.SpillableIterator has spilled already it checks whether upstream is an instance of UnsafeInMemorySorter.SortedIterator. When radix sorting is used (added by SPARK-14851) and there are NULLs in the input however, upstream will be an instance of UnsafeExternalSorter.ChainedIterator instead, but should still be spilled.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tomvanbussel Tom van Bussel
                Reporter:
                tomvanbussel Tom van Bussel
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: