You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2020/09/16 12:00:00 UTC

[jira] [Commented] (SPARK-32900) UnsafeExternalSorter.SpillableIterator cannot spill when there are NULLs in the input and radix sorting is used.

    [ https://issues.apache.org/jira/browse/SPARK-32900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17196931#comment-17196931 ] 

Apache Spark commented on SPARK-32900:
--------------------------------------

User 'tomvanbussel' has created a pull request for this issue:
https://github.com/apache/spark/pull/29772

> 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: 2.4.7, 3.0.1
>            Reporter: Tom van Bussel
>            Priority: Major
>
> 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.



--
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