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 2021/10/27 04:07:00 UTC

[jira] [Commented] (SPARK-37125) Support AnsiInterval radix sort

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

Apache Spark commented on SPARK-37125:
--------------------------------------

User 'ulysses-you' has created a pull request for this issue:
https://github.com/apache/spark/pull/34398

> Support AnsiInterval radix sort
> -------------------------------
>
>                 Key: SPARK-37125
>                 URL: https://issues.apache.org/jira/browse/SPARK-37125
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.3.0
>            Reporter: XiDuo You
>            Priority: Major
>
> The radix sort is more faster than timsort, the benchmark result can see in `SortBenchmark`.
> Since the `AnsiInterval` data type is comparable:
> - `YearMonthIntervalType` -> int ordering
> - `DayTimeIntervalType` -> long ordering
> And we aslo support radix sort when the ordering column date type is int or long.
> So `AnsiInterval` radix sort can be supported.



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