You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2013/02/27 23:49:14 UTC

[jira] [Commented] (HIVE-4034) Should be able to specify windowing spec without needing Between

    [ https://issues.apache.org/jira/browse/HIVE-4034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13588873#comment-13588873 ] 

Ashutosh Chauhan commented on HIVE-4034:
----------------------------------------

 https://reviews.facebook.net/D8973
                
> Should be able to specify windowing spec without needing Between
> ----------------------------------------------------------------
>
>                 Key: HIVE-4034
>                 URL: https://issues.apache.org/jira/browse/HIVE-4034
>             Project: Hive
>          Issue Type: Bug
>          Components: PTF-Windowing
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>         Attachments: HIVE-4034.patch
>
>
> Currently user need to do following:
> {noformat}
> select s, sum(b) over (distribute by i sort by si rows between unbounded preceding and current row) from over100k;
> {noformat}
> but sql spec allows following as well:
> {noformat}
> select s, sum(b) over (distribute by i sort by si rows unbounded preceding) from over100k;
> {noformat}
> In such cases {{current row}} should be assumed implicitly.  

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