You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2016/04/19 05:28:25 UTC
[jira] [Resolved] (SPARK-14718) Avoid mutating ExprCode in
doGenCode
[ https://issues.apache.org/jira/browse/SPARK-14718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reynold Xin resolved SPARK-14718.
---------------------------------
Resolution: Fixed
Assignee: Sameer Agarwal
Fix Version/s: 2.0.0
> 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
> Assignee: Sameer Agarwal
> Fix For: 2.0.0
>
>
> 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