You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/11/30 21:08:01 UTC

[GitHub] [spark] imback82 commented on a change in pull request #34718: [SPARK-37460][DOCS] Add the description of ALTER DATABASE SET LOCATION

imback82 commented on a change in pull request #34718:
URL: https://github.com/apache/spark/pull/34718#discussion_r759657956



##########
File path: docs/sql-ref-syntax-ddl-alter-database.md
##########
@@ -21,25 +21,47 @@ license: |
 
 ### Description
 
-You can alter metadata associated with a database by setting `DBPROPERTIES`.  The specified property
-values override any existing value with the same property name. Please note that the usage of 
-`SCHEMA` and `DATABASE` are interchangeable and one can be used in place of the other. An error message
-is issued if the database is not found in the system. This command is mostly used to record the metadata
-for a database and may be used for auditing purposes.
+`ALTER DATABASE` statement changes the properties or location of a database. Please note that the usage of
+`DATABASE`, `SCHEMA` and `NAMESPACE` are interchangeable and one can be used in place of the others. An error message
+is issued if the database is not found in the system.
 
-### Syntax
+### ALTER PROPERTIES
+`ALTER DATABASE SET DBPROPERTIES` statement changes the metadata associated with a database.

Review comment:
       ```suggestion
   `ALTER DATABASE SET DBPROPERTIES` statement changes the properties associated with a database.
   ```




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

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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