hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <>
Subject [jira] [Commented] (HIVE-896) Add LEAD/LAG/FIRST/LAST analytical windowing functions to Hive.
Date Fri, 01 Feb 2013 23:02:15 GMT


Alan Gates commented on HIVE-896:

[~rhbutani] I've been looking at the syntax for invoking a PTF in your patch.  If I read it
correctly it looks something like:

functionname ( expr_list ON source ... )

where expr_list is a comma separated list of expressions, source is a table, subquery or another
PTF, and ... is the DISTRIBUTE BY etc.

Is that right?  If so, what is that list of expressions?  Are those arguments to be passed
to the PTF?  Also, if I read it correctly the ON keyword is optional.  Does ON not being there
have some meaning or do you just see it as a noise word so you're allowing it to be optional?

> Add LEAD/LAG/FIRST/LAST analytical windowing functions to Hive.
> ---------------------------------------------------------------
>                 Key: HIVE-896
>                 URL:
>             Project: Hive
>          Issue Type: New Feature
>          Components: OLAP, UDF
>            Reporter: Amr Awadallah
>            Priority: Minor
>         Attachments: DataStructs.pdf, HIVE-896.1.patch.txt, Hive-896.2.patch.txt
> Windowing functions are very useful for click stream processing and similar time-series/sliding-window
> More details at:
> -- amr

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:

View raw message