You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Zoltan Haindrich (JIRA)" <ji...@apache.org> on 2017/11/20 10:00:00 UTC
[jira] [Updated] (HIVE-18105) Aggregation of an empty set doesn't
pass constants to the UDAF
[ https://issues.apache.org/jira/browse/HIVE-18105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zoltan Haindrich updated HIVE-18105:
------------------------------------
Attachment: HIVE-18105.01.patch
#1)
* write test for groupbyoperator
* fix issue
> Aggregation of an empty set doesn't pass constants to the UDAF
> --------------------------------------------------------------
>
> Key: HIVE-18105
> URL: https://issues.apache.org/jira/browse/HIVE-18105
> Project: Hive
> Issue Type: Sub-task
> Reporter: Zoltan Haindrich
> Assignee: Zoltan Haindrich
> Attachments: HIVE-18105.01.patch
>
>
> the groupbyoperator's logic for firstrow passes {{null}} for all parameters.
> see here:
> {here|https://github.com/apache/hive/blob/39d46e8af5a3794f7395060b890f94ddc84516e7/ql/src/java/org/apache/hadoop/hive/ql/exec/GroupByOperator.java#L1116}
> this could obstruct {{compute_stats}} operations because it has a constant argument.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)