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



##########
File path: docs/sql-ref-syntax-ddl-alter-table.md
##########
@@ -187,6 +194,8 @@ ALTER TABLE table_identifier [ partition_spec ] SET SERDE 
serde_class_name
 `ALTER TABLE SET` command can also be used for changing the file location and 
file format for 
 existing tables. 
 
+If the table is cached, the `ALTER TABLE .. SET LOCATION` command clears 
cached data of the table and all its dependents that refer to it. The cache 
will be lazily filled when the next time the table or the dependents are 
accessed.

Review comment:
       - It is not applicable to all commands
   - I modified not only `ALTER TABLE`




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