You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiao Li (JIRA)" <ji...@apache.org> on 2018/06/25 17:12:00 UTC

[jira] [Resolved] (SPARK-21607) Can dropTempView function add a param like dropTempView(viewName: String, dropSelfOnly: Boolean)

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

Xiao Li resolved SPARK-21607.
-----------------------------
       Resolution: Fixed
         Assignee: Maryann Xue
    Fix Version/s: 2.4.0

> Can dropTempView function add a param like dropTempView(viewName: String, dropSelfOnly: Boolean)
> ------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-21607
>                 URL: https://issues.apache.org/jira/browse/SPARK-21607
>             Project: Spark
>          Issue Type: Request
>          Components: SQL
>    Affects Versions: 2.2.0
>            Reporter: ant_nebula
>            Assignee: Maryann Xue
>            Priority: Major
>             Fix For: 2.4.0
>
>         Attachments: spark stream scene.png
>
>
> AS SPARK-19765, from version 2.1.1, UNCACHE TABLE also un-cache all cached plans that refer to this table.
> My scene like this picture below. When I have finished step 1, I cannot do dropTempView "ods_table1" and "dwd_table2", util I also finish step 2. It waste a lot of memory.
> Can dropTempView function add a param like dropTempView(viewName: String, dropSelfOnly: Boolean). As my scene, After dropTempView "dwd_table2", "dw_table3" would still keep cache in memory.
> Or add a new feacture: supports create materialized views.
> !spark stream scene.png!



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

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