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/26 02:40:12 UTC

[jira] [Commented] (HIVE-4073) Make partition by optional in over clause

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

Ashutosh Chauhan commented on HIVE-4073:
----------------------------------------

sql spec allows empty specification in over clause. Currently, our parser fails to parse this query. We have order-by optional but we don't need user to specify a partitioning spec. Infact we should relax that requirement and if user chose not to specify the partitioning column than partition by some constant value which achieves desired effect.
                
> Make partition by optional in over clause
> -----------------------------------------
>
>                 Key: HIVE-4073
>                 URL: https://issues.apache.org/jira/browse/HIVE-4073
>             Project: Hive
>          Issue Type: Bug
>          Components: PTF-Windowing
>            Reporter: Ashutosh Chauhan
>
> select s, sum( i ) over() from tt; should work. 

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