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

[jira] [Updated] (SPARK-14718) Avoid mutating ExprCode in doGenCode

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

Sameer Agarwal updated SPARK-14718:
-----------------------------------
    Summary: Avoid mutating ExprCode in doGenCode  (was: doGenCode should return a new ExprCode and not mutate existing one)

> Avoid mutating ExprCode in doGenCode
> ------------------------------------
>
>                 Key: SPARK-14718
>                 URL: https://issues.apache.org/jira/browse/SPARK-14718
>             Project: Spark
>          Issue Type: Improvement
>            Reporter: Sameer Agarwal
>
> The `doGenCode` method currently takes in an ExprCode, mutates it and returns the java code to evaluate the given expression. It should instead just return a new ExprCode to avoid passing around mutable objects.



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