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

2017-12-13 Thread Xiao Li (JIRA)

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

Xiao Li updated SPARK-22716:

Parent Issue: SPARK-22692  (was: SPARK-22510)

> Avoid the creation of mutable states in addReferenceObj
> ---
>
> Key: SPARK-22716
> URL: https://issues.apache.org/jira/browse/SPARK-22716
> Project: Spark
>  Issue Type: Sub-task
>  Components: SQL
>Affects Versions: 2.3.0
>Reporter: Wenchen Fan
>Assignee: Marco Gaido
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



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

2017-12-13 Thread Xiao Li (JIRA)

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

Xiao Li updated SPARK-22716:

Issue Type: Sub-task  (was: Improvement)
Parent: SPARK-22510

> Avoid the creation of mutable states in addReferenceObj
> ---
>
> Key: SPARK-22716
> URL: https://issues.apache.org/jira/browse/SPARK-22716
> Project: Spark
>  Issue Type: Sub-task
>  Components: SQL
>Affects Versions: 2.3.0
>Reporter: Wenchen Fan
>Assignee: Marco Gaido
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



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

2017-12-12 Thread Wenchen Fan (JIRA)

 [ 
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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org