yutoacts commented on a change in pull request #34718: URL: https://github.com/apache/spark/pull/34718#discussion_r759820883
########## 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: thanks for your review. Fixed. -- 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-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org