You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Lefty Leverenz (JIRA)" <ji...@apache.org> on 2016/07/25 08:25:20 UTC
[jira] [Commented] (HIVE-13475) Allow aggregate functions in over
clause
[ https://issues.apache.org/jira/browse/HIVE-13475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15391527#comment-15391527 ]
Lefty Leverenz commented on HIVE-13475:
---------------------------------------
Jesús took care of the documentation. (Thanks, Jesús!)
* [Windowing and Analytics -- Enhancements to HiveQL (see #5 at end of section) | https://cwiki.apache.org/confluence/display/Hive/LanguageManual+WindowingAndAnalytics#LanguageManualWindowingAndAnalytics-EnhancementstoHiveQL]
Removed the TODOC2.1 label.
> Allow aggregate functions in over clause
> ----------------------------------------
>
> Key: HIVE-13475
> URL: https://issues.apache.org/jira/browse/HIVE-13475
> Project: Hive
> Issue Type: New Feature
> Components: Parser
> Affects Versions: 2.1.0
> Reporter: Jesus Camacho Rodriguez
> Assignee: Jesus Camacho Rodriguez
> Fix For: 2.1.0
>
> Attachments: HIVE-13475.patch
>
>
> Support to reference aggregate functions within the over clause needs to be added. For instance, currently the following query will fail:
> {noformat}
> select rank() over (order by sum(ws.c_int)) as return_rank
> from cbo_t3 ws
> group by ws.key;
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)