[ https://issues.apache.org/jira/browse/HIVE-4262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phabricator updated HIVE-4262: ------------------------------ Attachment: HIVE-4262.D9837.2.patch hbutani updated the revision "HIVE-4262 [jira] fix last_value UDAF behavior". - merge - Merge remote-tracking branch 'origin/ptf' into ptf - HIVE-4262 [jira] fix last_value UDAF behavior - HIVE-4262 [jira] fix last_value UDAF behavior Reviewers: JIRA, ashutoshc REVISION DETAIL https://reviews.facebook.net/D9837 CHANGE SINCE LAST DIFF https://reviews.facebook.net/D9837?vs=30813&id=31245#toc AFFECTED FILES data/files/flights_tiny.txt data/files/part.rc data/files/part.seq ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java ql/src/java/org/apache/hadoop/hive/ql/parse/WindowingSpec.java ql/src/test/queries/clientpositive/windowing_navfn.q ql/src/test/results/clientpositive/windowing_navfn.q.out To: JIRA, ashutoshc, hbutani > fix last_value UDAF behavior > ---------------------------- > > Key: HIVE-4262 > URL: https://issues.apache.org/jira/browse/HIVE-4262 > Project: Hive > Issue Type: Bug > Components: PTF-Windowing > Reporter: Harish Butani > Assignee: Harish Butani > Attachments: HIVE-4262.D9837.1.patch, HIVE-4262.D9837.2.patch > > > When an Order Spec is present in an Over clause > last_value should return the value from the last row that matches the current > row's Sort Key. > See egs here http://msdn.microsoft.com/en-us/library/hh231517.aspx -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira