Ramesh Kumar Thangarajan created HIVE-23665:
-----------------------------------------------

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


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