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

Zoltan Haindrich commented on HIVE-18445:
-----------------------------------------

oh...I was looking thru things for a few minutes...but eventually I've figured 
it out....the groupby is added because HIVE-13567 have enable the colstats 
collection which technically an extra aggregator executed on the newly created 
table's contents - and because of the aggregation there is a groupby; because 
UDAFs has a wider range of function than just aggregate a column; probably most 
importantly, the [aggregation 
modes|https://github.com/apache/hive/blob/d6c6d96f98d998298618a643bd0d571d4e290dc3/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFEvaluator.java#L76].

+1 pending tests

> qtests: auto_join25.q fails permanently
> ---------------------------------------
>
>                 Key: HIVE-18445
>                 URL: https://issues.apache.org/jira/browse/HIVE-18445
>             Project: Hive
>          Issue Type: Bug
>          Components: Tests
>            Reporter: Laszlo Bodor
>            Assignee: Laszlo Bodor
>            Priority: Major
>         Attachments: HIVE-18445.01.patch
>
>
> org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[auto_join25] 
> (batchId=72)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to