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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]