spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venkata Ramana G (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-2189) Method for removing temp tables created by registerAsTable
Date Tue, 26 Aug 2014 14:22:59 GMT

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

Venkata Ramana G commented on SPARK-2189:
-----------------------------------------

unregisterTempTable("cachedTableName") this api should uncache the registered tables with
InMemoryRelation.
I could not get any useful use case where cache still is required after unregisterTempTable.

If there is any valid usecase, then api can be modified to give more control to user, 
unregisterTempTable("cachedTableName", unCacheTables=true)  . this api by default should uncache
the registered tables with InMemoryRelation.
However user can pass unCacheTables=false to change the behaviour.
Please comment.

> Method for removing temp tables created by registerAsTable
> ----------------------------------------------------------
>
>                 Key: SPARK-2189
>                 URL: https://issues.apache.org/jira/browse/SPARK-2189
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.0.0
>            Reporter: Michael Armbrust
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)

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


Mime
View raw message