spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [spark] viirya commented on issue #27090: [SPARK-27545][SQL] Temporary view is not removed while uncaching the table
Date Sat, 04 Jan 2020 06:33:27 GMT
viirya commented on issue #27090: [SPARK-27545][SQL] Temporary view is not removed while uncaching
the table
URL: https://github.com/apache/spark/pull/27090#issuecomment-570761486
 
 
   > maybe we should clearly document that `CACHE TABLE t1 as SELECT * FROM some_table;`
means create a temp view and cache it. cc @viirya @dongjoon-hyun
   
   As shown above, `UNCACHE TABLE t`  where `t` could be created by `CACHE TABLE AS query`
or a temp view created separately. I think it is hard to make `UNCACHE TABLE` command know
which one is its target.
   
   Although `UNCACHE TABLE` cannot remove temp view if it is created by `CACHE TABLE AS query`,
it seems not a serious issue. When trying to create another temp view with the same name,
an error will be seen.
   
   Documenting it is a good idea.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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


Mime
View raw message