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

Cheng Hao commented on SPARK-4234:
----------------------------------

Yes, it looks like that, but we probably need to refactor the current 
implementation first. I am working on the POC right now, hopefully we can 
discuss that in detail then.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to