You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/04/14 08:57:25 UTC

[jira] [Assigned] (SPARK-14627) In TypedAggregateExpression update method we call encoder.shift many times

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

Apache Spark reassigned SPARK-14627:
------------------------------------

    Assignee:     (was: Apache Spark)

> In TypedAggregateExpression update method we call encoder.shift many times
> --------------------------------------------------------------------------
>
>                 Key: SPARK-14627
>                 URL: https://issues.apache.org/jira/browse/SPARK-14627
>             Project: Spark
>          Issue Type: Improvement
>            Reporter: Liang-Chi Hsieh
>            Priority: Minor
>
> Every time we call TypedAggregateExpression.update method, we call encoder's shift method. As shift method will copy encoder and underlying BoundReference, we should prepare the shifted encoder in advance, instead of calling shift method every time.
> BTW, we can also improve encoder's shift method to return itself when shift delta is zero.



--
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