[ 
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.1.patch

hbutani requested code review of "HIVE-4262 [jira] fix last_value UDAF 
behavior".

Reviewers: JIRA, ashutoshc

fix last_value

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

TEST PLAN
  added new test to window_navfn.q

REVISION DETAIL
  https://reviews.facebook.net/D9837

AFFECTED FILES
  data/files/flights_tiny.txt
  data/files/part.rc
  data/files/part.seq
  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

MANAGE HERALD RULES
  https://reviews.facebook.net/herald/view/differential/

WHY DID I GET THIS EMAIL?
  https://reviews.facebook.net/herald/transcript/23463/

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
>
>
> 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

Reply via email to