You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Tom van Bussel (Jira)" <ji...@apache.org> on 2020/09/16 09:20:00 UTC
[jira] [Created] (SPARK-32900)
UnsafeExternalSorter.SpillableIterator cannot spill when there are NULLs in
the input and radix sorting is used.
Tom van Bussel created SPARK-32900:
--------------------------------------
Summary: UnsafeExternalSorter.SpillableIterator cannot spill when there are NULLs in the input and radix sorting is used.
Key: SPARK-32900
URL: https://issues.apache.org/jira/browse/SPARK-32900
Project: Spark
Issue Type: Bug
Components: Spark Core
Affects Versions: 3.0.1, 2.4.7
Reporter: Tom van Bussel
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 and there are NULLs in the input however, upstream will be an instance of {{UnsafeExternalSorter.ChainedIterator}} instead, but should still be spilled.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org