MaxGekk commented on a change in pull request #31524:
URL: https://github.com/apache/spark/pull/31524#discussion_r573842447



##########
File path: docs/sql-ref-syntax-ddl-alter-view.md
##########
@@ -28,6 +28,8 @@ the name of a view to a different name, set and unset the 
metadata of the view b
 Renames the existing view. If the new view name already exists in the source 
database, a `TableAlreadyExistsException` is thrown. This operation
 does not support moving the views across databases.
 
+If the view is cached, the command clears cached data of the view and all its 
dependents that refer to it. View's cache will be lazily filled when the next 
time the view or the dependents are accessed. The command leaves view's 
dependents as uncached.

Review comment:
       You are right.




----------------------------------------------------------------
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]



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

Reply via email to