viirya commented on a change in pull request #27090: [SPARK-27545][SQL][DOC] 
Update the Documentation for CACHE TABLE and UNCACHE TABLE
URL: https://github.com/apache/spark/pull/27090#discussion_r363545192
 
 

 ##########
 File path: docs/sql-ref-syntax-aux-cache-uncache-table.md
 ##########
 @@ -21,11 +21,15 @@ license: |
 
 ### Description
 `UNCACHE TABLE` removes the entries and associated data from the in-memory 
and/or on-disk cache for a given table or view. The
-underlying entries should already have been brought to cache by previous 
`CACHE TABLE` operation. `UNCACHE TABLE` on a non-existent table throws 
Exception if `IF EXISTS` is not specified.
+underlying entries should already have been brought to cache by previous 
`CACHE TABLE` operation. `UNCACHE TABLE` does not remove 
+the temporary view if it is created by `CACHE TABLE name AS query`. `UNCACHE 
TABLE` on a non-existent table throws Exception if `IF EXISTS`
 
 Review comment:
   `UNCACHE TABLE` does not remove the temporary view if it is created by 
`CACHE TABLE name AS query` -> it sounds like it will remove a temporary view 
that is not created by `CACHE TABLE name AS query`.
   
   Or just say `UNCACHE TABLE` does not remove a temporary view?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to