[jira] [Updated] (SPARK-27151) ClearCacheCommand extends IgnoreCahedData to avoid plan node copys

2019-03-13 Thread Takeshi Yamamuro (JIRA)


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

Takeshi Yamamuro updated SPARK-27151:
-
Description: 
In SPARK-27011, we introduced IgnoreCahedData to avoid plan node copys in 
CacheManager.
Since ClearCacheCommand has no argument, it also can extend IgnoreCahedData.

  was:To avoid unnecessary copys, `ClearCacheCommand` should be `case-object`.


> ClearCacheCommand extends IgnoreCahedData to avoid plan node copys
> --
>
> Key: SPARK-27151
> URL: https://issues.apache.org/jira/browse/SPARK-27151
> Project: Spark
>  Issue Type: Improvement
>  Components: SQL
>Affects Versions: 2.4.0
>Reporter: Takeshi Yamamuro
>Priority: Trivial
>
> In SPARK-27011, we introduced IgnoreCahedData to avoid plan node copys in 
> CacheManager.
> Since ClearCacheCommand has no argument, it also can extend IgnoreCahedData.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (SPARK-27151) ClearCacheCommand extends IgnoreCahedData to avoid plan node copys

2019-03-13 Thread Takeshi Yamamuro (JIRA)


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

Takeshi Yamamuro updated SPARK-27151:
-
Summary: ClearCacheCommand extends IgnoreCahedData to avoid plan node copys 
 (was: ClearCacheCommand should be case-object to avoid copys)

> ClearCacheCommand extends IgnoreCahedData to avoid plan node copys
> --
>
> Key: SPARK-27151
> URL: https://issues.apache.org/jira/browse/SPARK-27151
> Project: Spark
>  Issue Type: Improvement
>  Components: SQL
>Affects Versions: 2.4.0
>Reporter: Takeshi Yamamuro
>Priority: Trivial
>
> To avoid unnecessary copys, `ClearCacheCommand` should be `case-object`.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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