[ https://issues.apache.org/jira/browse/HIVE-15520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15819473#comment-15819473 ]
Aihua Xu commented on HIVE-15520: --------------------------------- Did a simple test on 20k data. The running time is 2.061 sec (after the change) vs. 9.528 sec (before the change). When data size increases, the difference will be even more significant. > Improve the sum performance for Range based window > -------------------------------------------------- > > Key: HIVE-15520 > URL: https://issues.apache.org/jira/browse/HIVE-15520 > Project: Hive > Issue Type: Sub-task > Components: PTF-Windowing > Reporter: Aihua Xu > Assignee: Aihua Xu > Attachments: HIVE-15520.1.patch, HIVE-15520.2.patch, > HIVE-15520.3.patch, HIVE-15520.4.patch > > > Currently streaming process is not supported for range based windowing. Thus > sum( x ) over (partition by y order by z) is O(n^2) running time. > Investigate the possibility of streaming support. -- This message was sent by Atlassian JIRA (v6.3.4#6332)