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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to