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

Reply via email to