[ 
https://issues.apache.org/jira/browse/SPARK-12913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Davies Liu updated SPARK-12913:
-------------------------------
    Description: 
As benchmarked and discussed here: 
https://github.com/apache/spark/pull/10786/files#r50038294.

Benefits from codegen, the declarative aggregate function could be much faster 
than imperative one,  we should re-implement all the builtin aggregate 
functions as declarative one.

For skewness and kurtosis, we need to benchmark it to make sure that the 
declarative one is actually faster than imperative one.

  was:
As benchmarked and discussed here: 
https://github.com/apache/spark/pull/10786/files#r50038294.

Benefits from codegen, the declarative aggregate function could be much faster 
than imperative one,  we should re-implement all the builtin aggregate 
functions as declarative one.


> Reimplement all builtin aggregate functions as declarative function
> -------------------------------------------------------------------
>
>                 Key: SPARK-12913
>                 URL: https://issues.apache.org/jira/browse/SPARK-12913
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Davies Liu
>
> As benchmarked and discussed here: 
> https://github.com/apache/spark/pull/10786/files#r50038294.
> Benefits from codegen, the declarative aggregate function could be much 
> faster than imperative one,  we should re-implement all the builtin aggregate 
> functions as declarative one.
> For skewness and kurtosis, we need to benchmark it to make sure that the 
> declarative one is actually faster than imperative one.



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

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

Reply via email to