XiDuo You created SPARK-37125:
---------------------------------

             Summary: Support AnsiInterval radix sort
                 Key: SPARK-37125
                 URL: https://issues.apache.org/jira/browse/SPARK-37125
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.3.0
            Reporter: XiDuo You


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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to