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/19 01:57:25 UTC

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

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

Apache Spark commented on SPARK-14718:
--------------------------------------

User 'sameeragarwal' has created a pull request for this issue:
https://github.com/apache/spark/pull/12483

> 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