You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (JIRA)" <ji...@apache.org> on 2017/12/13 02:31:02 UTC

[jira] [Updated] (SPARK-22716) Avoid the creation of mutable states in addReferenceObj

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

Wenchen Fan updated SPARK-22716:
--------------------------------
    Summary: Avoid the creation of mutable states in addReferenceObj  (was: revisit ctx.addReferenceObj)

> Avoid the creation of mutable states in addReferenceObj
> -------------------------------------------------------
>
>                 Key: SPARK-22716
>                 URL: https://issues.apache.org/jira/browse/SPARK-22716
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.3.0
>            Reporter: Wenchen Fan
>             Fix For: 2.3.0
>
>
> `ctx.addReferenceObj` creats a global variable just for referring an object, which seems an overkill. We should revisit it and always use `ctx.addReferenceMinorObj`



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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