You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Venkata Ramana G (JIRA)" <ji...@apache.org> on 2014/11/05 18:27:37 UTC

[jira] [Commented] (SPARK-4234) Always do paritial aggregation

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

Venkata Ramana G commented on SPARK-4234:
-----------------------------------------

As I understand currently HiveUDAF and HiveGenericUDAF support only AggregateExpression, but doesnot support partial Aggregation.
So we should support PartialAggregate for HiveUDAF and HiveGenericUDAF , using Hive UDAF's paritial aggregation interfaces.
Please correct my understanding.

> Always do paritial aggregation 
> -------------------------------
>
>                 Key: SPARK-4234
>                 URL: https://issues.apache.org/jira/browse/SPARK-4234
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Cheng Hao
>
> Currently, UDAF developer optionally implement a partial aggregation function, However this probably cause performance issue by allowing do that. We actually can always force developers to provide the partial aggregation function as Hive does, hence we will always get the `mapside` aggregation optimization.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org