You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sital Kedia (JIRA)" <ji...@apache.org> on 2016/06/15 00:56:34 UTC

[jira] [Created] (SPARK-15958) Make initial buffer size for the Sorter configurable

Sital Kedia created SPARK-15958:
-----------------------------------

             Summary: Make initial buffer size for the Sorter configurable
                 Key: SPARK-15958
                 URL: https://issues.apache.org/jira/browse/SPARK-15958
             Project: Spark
          Issue Type: Bug
    Affects Versions: 2.0.0
            Reporter: Sital Kedia


Currently the initial buffer size in the sorter is hard coded inside the code (https://github.com/apache/spark/blob/master/sql/catalyst/src/main/java/org/apache/spark/sql/execution/UnsafeExternalRowSorter.java#L88) and is too small for large workload. As a result, the sorter spends significant time expanding the buffer size and copying the data. It would be useful to have it configurable. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org