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

Laljo John Pullokkaran commented on HIVE-10141:
-----------------------------------------------

Its not just parser; the compiler currently doesn't support distinct in UDAFS 
with windowing.

I think this is most likely just a compiler side change (may be to add distinct 
cols to partition keys).
Not sure if chained PTF would need any special handling.

> count(distinct) not supported in Windowing function
> ---------------------------------------------------
>
>                 Key: HIVE-10141
>                 URL: https://issues.apache.org/jira/browse/HIVE-10141
>             Project: Hive
>          Issue Type: Improvement
>          Components: PTF-Windowing
>    Affects Versions: 1.0.0
>            Reporter: Yi Zhang
>            Priority: Critical
>
> Count(distinct) is a very important function for analysis. For example, 
> unique visitors instead of total visitors. Currently it is missing in 
> Windowing function.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to