You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "jin xing (JIRA)" <ji...@apache.org> on 2017/07/05 10:22:00 UTC

[jira] [Created] (SPARK-21315) Skip some spill files when generateIterator(startIndex) in ExternalAppendOnlyUnsafeRowArray.

jin xing created SPARK-21315:
--------------------------------

             Summary: Skip some spill files when generateIterator(startIndex) in ExternalAppendOnlyUnsafeRowArray.
                 Key: SPARK-21315
                 URL: https://issues.apache.org/jira/browse/SPARK-21315
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.1.1
            Reporter: jin xing


In current code, it is expensive to use {{UnboundedFollowingWindowFunctionFrame}}, because it is iterating from the start to lower bound every time calling {{write}} method. When traverse the iterator, it's possible to skip some spilled files thus to same some time.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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