[
https://issues.apache.org/jira/browse/ARROW-6732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Micah Kornfield resolved ARROW-6732.
------------------------------------
Fix Version/s: 1.0.0
Resolution: Fixed
Issue resolved by pull request 5540
[https://github.com/apache/arrow/pull/5540]
> [Java] Implement quick sort in a non-recursive way to avoid stack overflow
> --------------------------------------------------------------------------
>
> Key: ARROW-6732
> URL: https://issues.apache.org/jira/browse/ARROW-6732
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Java
> Reporter: Liya Fan
> Assignee: Liya Fan
> Priority: Critical
> Labels: pull-request-available
> Fix For: 1.0.0
>
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> The current quick sort algorithm in implemented by a recursive algorithm. The
> problem is that for the worst case, the number of recursive layers is equal
> to the length of the vector. For large vectors, this will cause stack
> overflow.
> To solve this problem, we implement the quick sort algorithm as a
> non-recursive algorithm.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)