[ https://issues.apache.org/jira/browse/SPARK-21315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jin xing updated SPARK-21315: ----------------------------- Description: 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 save some time. (was: 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.) > 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 save some time. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org