[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to