[ 
https://issues.apache.org/jira/browse/HIVE-23665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ramesh Kumar Thangarajan updated HIVE-23665:
--------------------------------------------
    Attachment: HIVE-23665.1.patch
        Status: Patch Available  (was: Open)

> Rewrite last_value to first_value to enable streaming results
> -------------------------------------------------------------
>
>                 Key: HIVE-23665
>                 URL: https://issues.apache.org/jira/browse/HIVE-23665
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ramesh Kumar Thangarajan
>            Assignee: Ramesh Kumar Thangarajan
>            Priority: Major
>         Attachments: HIVE-23665.1.patch
>
>
> Rewrite last_value to first_value to enable streaming results
> last_value cannot be streamed because the intermediate results need to be 
> buffered to determine the window result till we get the last row in the 
> window. But if we can rewrite to first_value we can stream the results, 
> although the order of results will not be guaranteed (also not important)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to