[ https://issues.apache.org/jira/browse/HIVE-15617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15822141#comment-15822141 ]
Aihua Xu commented on HIVE-15617: --------------------------------- patch-1: avg() will first call sum() to get the sum and then calculate the average from sum/num_of_rows. > Improve the avg performance for Range based window > -------------------------------------------------- > > Key: HIVE-15617 > URL: https://issues.apache.org/jira/browse/HIVE-15617 > Project: Hive > Issue Type: Sub-task > Components: PTF-Windowing > Affects Versions: 1.0.0 > Reporter: Aihua Xu > Assignee: Aihua Xu > Attachments: HIVE-15617.1.patch > > > Similar to HIVE-15520, we need to improve the performance for avg(). -- This message was sent by Atlassian JIRA (v6.3.4#6332)