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/26 03:47:15 UTC

[GitHub] [spark] yutoacts opened a new pull request #34718: [SPARK-37460][DOCS] Add the description of ALTER DATABASE SET LOCATION

yutoacts opened a new pull request #34718:
URL: https://github.com/apache/spark/pull/34718


   <!--
   Thanks for sending a pull request!  Here are some tips for you:
     1. If this is your first time, please read our contributor guidelines: https://spark.apache.org/contributing.html
     2. Ensure you have added or run the appropriate tests for your PR: https://spark.apache.org/developer-tools.html
     3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][SPARK-XXXX] Your PR title ...'.
     4. Be sure to keep the PR description updated to reflect all changes.
     5. Please write your PR title to summarize what this PR proposes.
     6. If possible, provide a concise example to reproduce the issue for a faster review.
     7. If you want to add a new configuration, please read the guideline first for naming configurations in
        'core/src/main/scala/org/apache/spark/internal/config/ConfigEntry.scala'.
     8. If you want to add or modify an error type or message, please read the guideline first in
        'core/src/main/resources/error/README.md'.
   -->
   
   ### What changes were proposed in this pull request?
   <!--
   Please clarify what changes you are proposing. The purpose of this section is to outline the changes and how this PR fixes the issue. 
   If possible, please consider writing useful notes for better and faster reviews in your PR. See the examples below.
     1. If you refactor some codes with changing classes, showing the class hierarchy will help reviewers.
     2. If you fix some SQL features, you can provide some references of other DBMSes.
     3. If there is design documentation, please add the link.
     4. If there is a discussion in the mailing list, please add the link.
   -->
   Added the description of `ALTER DATABASE SET LOCATION` command in `sql-ref-syntax-ddl-alter-database.md`
   
   ### Why are the changes needed?
   <!--
   Please clarify why the changes are needed. For instance,
     1. If you propose a new API, clarify the use case for a new API.
     2. If you fix a bug, you can clarify why it is a bug.
   -->
   This command can be used but not documented anywhere.
   
   ### Does this PR introduce _any_ user-facing change?
   <!--
   Note that it means *any* user-facing change including all aspects such as the documentation fix.
   If yes, please clarify the previous behavior and the change this PR proposes - provide the console output, description and/or an example to show the behavior difference if possible.
   If possible, please also clarify if this is a user-facing change compared to the released Spark versions or within the unreleased branches such as master.
   If no, write 'No'.
   -->
   Yes, docs changes.
   
   ### How was this patch tested?
   <!--
   If tests were added, say they were added here. Please make sure to add some test cases that check the changes thoroughly including negative and positive cases if possible.
   If it was tested in a way different from regular unit tests, please clarify how you tested step by step, ideally copy and paste-able, so that other reviewers can test and check, and descendants can verify in the future.
   If tests were not added, please describe why they were not added and/or why it was difficult to add.
   If benchmark tests were added, please run the benchmarks in GitHub Actions for the consistent environment, and the instructions could accord to: https://spark.apache.org/developer-tools.html#github-workflow-benchmarks.
   -->
   `SKIP_API=1 bundle exec jekyll build`
   <img width="395" alt="alterdb1" src="https://user-images.githubusercontent.com/87687356/143523751-4cc32ad1-390c-491b-a6ea-bf1664535c28.png">
   <img width="396" alt="alterdb2" src="https://user-images.githubusercontent.com/87687356/143523757-aa741d74-0e51-4e17-8768-9da7eb86a7d8.png">
   
   


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


[GitHub] [spark] SparkQA removed a comment on pull request #34718: [SPARK-37460][DOCS] Add the description of ALTER DATABASE SET LOCATION

Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-983463340


   **[Test build #145811 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/145811/testReport)** for PR 34718 at commit [`7cd9956`](https://github.com/apache/spark/commit/7cd9956fecde562ab7ae50b0711326f799849220).


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


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

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-983280322


   Kubernetes integration test starting
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50259/
   


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


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

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-983306230


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50259/
   


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


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

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-983498756


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145811/
   


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


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

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-983540899


   Kubernetes integration test starting
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50285/
   


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


[GitHub] [spark] AmplabJenkins removed a comment on pull request #34718: [SPARK-37460][DOCS] Add the description of ALTER DATABASE SET LOCATION

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-983256114


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145786/
   


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


[GitHub] [spark] cloud-fan commented on pull request #34718: [SPARK-37460][DOCS] Add the description of ALTER DATABASE SET LOCATION

Posted by GitBox <gi...@apache.org>.
cloud-fan commented on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-983583155


   thanks, merging to master!


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


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

Posted by GitBox <gi...@apache.org>.
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


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

Posted by GitBox <gi...@apache.org>.
yutoacts commented on a change in pull request #34718:
URL: https://github.com/apache/spark/pull/34718#discussion_r759994496



##########
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 properties associated with a database.
+The specified property values override any existing value with the same property name. 
+This command is mostly used to record the metadata for a database and may be used for auditing purposes.
+
+#### Syntax
 
 ```sql
-ALTER { DATABASE | SCHEMA } database_name
-    SET DBPROPERTIES ( property_name = property_value [ , ... ] )
+ALTER { DATABASE | SCHEMA | NAMESPACE } database_name
+    SET { DBPROPERTIES | PROPERTIES } ( property_name = property_value [ , ... ] )
 ```
 
-### Parameters
+#### Parameters
 
 * **database_name**
 
     Specifies the name of the database to be altered.
 
+### ALTER LOCATION
+`ALTER DATABASE SET LOCATION` statement changes the default parent-directory where new tables will be added 
+for a database. Please note that it does not move the contents of the database's current directory to the newly 
+specified location or change the locations associated with any tables/partitions under the specified database 
+(available in Hive 3.0.0 and later).

Review comment:
       Thanks for the review. I mentioned the Hive version here because the usability of the `ALTER DATABASE SET LOCATION` command depends on the version of the Hive metastore and it is not available on 2.3.9.
   I can add the Spark version here (Spark 3.0.0 and later) but I think it's still good for users to write about Hive.




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


[GitHub] [spark] AmplabJenkins removed a comment on pull request #34718: [SPARK-37460][DOCS] Add the description of ALTER DATABASE SET LOCATION

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-983592141


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50285/
   


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


[GitHub] [spark] SparkQA removed a comment on pull request #34718: [SPARK-37460][DOCS] Add the description of ALTER DATABASE SET LOCATION

Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-983250724


   **[Test build #145786 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/145786/testReport)** for PR 34718 at commit [`6bf5660`](https://github.com/apache/spark/commit/6bf5660ad79ea6b80e31ef5b444cf2b170bdab23).


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


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

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-983306217


   Kubernetes integration test status failure
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50259/
   


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


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

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-983463340


   **[Test build #145811 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/145811/testReport)** for PR 34718 at commit [`7cd9956`](https://github.com/apache/spark/commit/7cd9956fecde562ab7ae50b0711326f799849220).


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


[GitHub] [spark] AmplabJenkins removed a comment on pull request #34718: [SPARK-37460][DOCS] Add the description of ALTER DATABASE SET LOCATION

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-979687007


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145647/
   


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


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

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-983592141


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50285/
   


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


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

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-983250724


   **[Test build #145786 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/145786/testReport)** for PR 34718 at commit [`6bf5660`](https://github.com/apache/spark/commit/6bf5660ad79ea6b80e31ef5b444cf2b170bdab23).


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


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

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-983256114


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145786/
   


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


[GitHub] [spark] AmplabJenkins removed a comment on pull request #34718: [SPARK-37460][DOCS] Add the description of ALTER DATABASE SET LOCATION

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-983306230


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50259/
   


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


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

Posted by GitBox <gi...@apache.org>.
cloud-fan commented on a change in pull request #34718:
URL: https://github.com/apache/spark/pull/34718#discussion_r759919009



##########
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 properties associated with a database.
+The specified property values override any existing value with the same property name. 
+This command is mostly used to record the metadata for a database and may be used for auditing purposes.
+
+#### Syntax
 
 ```sql
-ALTER { DATABASE | SCHEMA } database_name
-    SET DBPROPERTIES ( property_name = property_value [ , ... ] )
+ALTER { DATABASE | SCHEMA | NAMESPACE } database_name
+    SET { DBPROPERTIES | PROPERTIES } ( property_name = property_value [ , ... ] )
 ```
 
-### Parameters
+#### Parameters
 
 * **database_name**
 
     Specifies the name of the database to be altered.
 
+### ALTER LOCATION
+`ALTER DATABASE SET LOCATION` statement changes the default parent-directory where new tables will be added 
+for a database. Please note that it does not move the contents of the database's current directory to the newly 
+specified location or change the locations associated with any tables/partitions under the specified database 
+(available in Hive 3.0.0 and later).

Review comment:
       Can we find out the Spark version instead?




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


[GitHub] [spark] AmplabJenkins removed a comment on pull request #34718: [SPARK-37460][DOCS] Add the description of ALTER DATABASE SET LOCATION

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-983498756


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145811/
   


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


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

Posted by GitBox <gi...@apache.org>.
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-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


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

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-979683036


   **[Test build #145647 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/145647/testReport)** for PR 34718 at commit [`a5a23a1`](https://github.com/apache/spark/commit/a5a23a124945b0e4d20d3313ef0a24c7cdf9d5b4).


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


[GitHub] [spark] SparkQA removed a comment on pull request #34718: [SPARK-37460][DOCS] Add the description of ALTER DATABASE SET LOCATION

Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-979683036


   **[Test build #145647 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/145647/testReport)** for PR 34718 at commit [`a5a23a1`](https://github.com/apache/spark/commit/a5a23a124945b0e4d20d3313ef0a24c7cdf9d5b4).


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


[GitHub] [spark] cloud-fan closed pull request #34718: [SPARK-37460][DOCS] Add the description of ALTER DATABASE SET LOCATION

Posted by GitBox <gi...@apache.org>.
cloud-fan closed pull request #34718:
URL: https://github.com/apache/spark/pull/34718


   


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


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

Posted by GitBox <gi...@apache.org>.
yutoacts commented on a change in pull request #34718:
URL: https://github.com/apache/spark/pull/34718#discussion_r759994496



##########
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 properties associated with a database.
+The specified property values override any existing value with the same property name. 
+This command is mostly used to record the metadata for a database and may be used for auditing purposes.
+
+#### Syntax
 
 ```sql
-ALTER { DATABASE | SCHEMA } database_name
-    SET DBPROPERTIES ( property_name = property_value [ , ... ] )
+ALTER { DATABASE | SCHEMA | NAMESPACE } database_name
+    SET { DBPROPERTIES | PROPERTIES } ( property_name = property_value [ , ... ] )
 ```
 
-### Parameters
+#### Parameters
 
 * **database_name**
 
     Specifies the name of the database to be altered.
 
+### ALTER LOCATION
+`ALTER DATABASE SET LOCATION` statement changes the default parent-directory where new tables will be added 
+for a database. Please note that it does not move the contents of the database's current directory to the newly 
+specified location or change the locations associated with any tables/partitions under the specified database 
+(available in Hive 3.0.0 and later).

Review comment:
       Thanks for the review. I mentioned the Hive version here because the usability of the `ALTER DATABASE SET LOCATION` command depends on the version of the Hive metastore and it is not available on 2.3.9.
   I can add the Spark version here (Spark 3.0.0 and later) but I think it's still good to write about Hive.




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


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

Posted by GitBox <gi...@apache.org>.
yutoacts commented on a change in pull request #34718:
URL: https://github.com/apache/spark/pull/34718#discussion_r760009048



##########
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 properties associated with a database.
+The specified property values override any existing value with the same property name. 
+This command is mostly used to record the metadata for a database and may be used for auditing purposes.
+
+#### Syntax
 
 ```sql
-ALTER { DATABASE | SCHEMA } database_name
-    SET DBPROPERTIES ( property_name = property_value [ , ... ] )
+ALTER { DATABASE | SCHEMA | NAMESPACE } database_name
+    SET { DBPROPERTIES | PROPERTIES } ( property_name = property_value [ , ... ] )
 ```
 
-### Parameters
+#### Parameters
 
 * **database_name**
 
     Specifies the name of the database to be altered.
 
+### ALTER LOCATION
+`ALTER DATABASE SET LOCATION` statement changes the default parent-directory where new tables will be added 
+for a database. Please note that it does not move the contents of the database's current directory to the newly 
+specified location or change the locations associated with any tables/partitions under the specified database 
+(available in Hive 3.0.0 and later).

Review comment:
       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-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


[GitHub] [spark] AmplabJenkins removed a comment on pull request #34718: [SPARK-37460][DOCS] Add the description of ALTER DATABASE SET LOCATION

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-979718075


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50118/
   


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


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

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-979686868


   **[Test build #145647 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/145647/testReport)** for PR 34718 at commit [`a5a23a1`](https://github.com/apache/spark/commit/a5a23a124945b0e4d20d3313ef0a24c7cdf9d5b4).
    * This patch passes all tests.
    * This patch merges cleanly.
    * This patch adds no public classes.


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


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

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-979695974


   Kubernetes integration test starting
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50118/
   


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


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

Posted by GitBox <gi...@apache.org>.
sarutak commented on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-979687579


   cc: @imback82 


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


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

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-979713631


   Kubernetes integration test status failure
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50118/
   


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


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

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-979687007


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145647/
   


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


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

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-979718075


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50118/
   


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


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

Posted by GitBox <gi...@apache.org>.
yutoacts commented on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-982440331


   cc @cloud-fan 


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


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

Posted by GitBox <gi...@apache.org>.
yutoacts commented on a change in pull request #34718:
URL: https://github.com/apache/spark/pull/34718#discussion_r759994496



##########
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 properties associated with a database.
+The specified property values override any existing value with the same property name. 
+This command is mostly used to record the metadata for a database and may be used for auditing purposes.
+
+#### Syntax
 
 ```sql
-ALTER { DATABASE | SCHEMA } database_name
-    SET DBPROPERTIES ( property_name = property_value [ , ... ] )
+ALTER { DATABASE | SCHEMA | NAMESPACE } database_name
+    SET { DBPROPERTIES | PROPERTIES } ( property_name = property_value [ , ... ] )
 ```
 
-### Parameters
+#### Parameters
 
 * **database_name**
 
     Specifies the name of the database to be altered.
 
+### ALTER LOCATION
+`ALTER DATABASE SET LOCATION` statement changes the default parent-directory where new tables will be added 
+for a database. Please note that it does not move the contents of the database's current directory to the newly 
+specified location or change the locations associated with any tables/partitions under the specified database 
+(available in Hive 3.0.0 and later).

Review comment:
       Thanks for the review. I mentioned the Hive version here because the usability of the `ALTER DATABASE SET LOCATION` command depends on the version of the Hive metastore.
   I can add the Spark version here (Spark 3.0.0 and later) but I think it's still good to write about Hive.




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


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

Posted by GitBox <gi...@apache.org>.
yutoacts commented on a change in pull request #34718:
URL: https://github.com/apache/spark/pull/34718#discussion_r759994496



##########
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 properties associated with a database.
+The specified property values override any existing value with the same property name. 
+This command is mostly used to record the metadata for a database and may be used for auditing purposes.
+
+#### Syntax
 
 ```sql
-ALTER { DATABASE | SCHEMA } database_name
-    SET DBPROPERTIES ( property_name = property_value [ , ... ] )
+ALTER { DATABASE | SCHEMA | NAMESPACE } database_name
+    SET { DBPROPERTIES | PROPERTIES } ( property_name = property_value [ , ... ] )
 ```
 
-### Parameters
+#### Parameters
 
 * **database_name**
 
     Specifies the name of the database to be altered.
 
+### ALTER LOCATION
+`ALTER DATABASE SET LOCATION` statement changes the default parent-directory where new tables will be added 
+for a database. Please note that it does not move the contents of the database's current directory to the newly 
+specified location or change the locations associated with any tables/partitions under the specified database 
+(available in Hive 3.0.0 and later).

Review comment:
       Thanks for the review. I mentioned the Hive version here because the usability of the `ALTER DATABASE SET LOCATION` command depends on the version of the Hive metastore and it is not available on 2.3.9.
   I will add the Spark version here (Spark 3.0.0 and later) but I think it's still good for users to write about Hive.




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


[GitHub] [spark] cloud-fan edited a comment on pull request #34718: [SPARK-37460][DOCS] Add the description of ALTER DATABASE SET LOCATION

Posted by GitBox <gi...@apache.org>.
cloud-fan edited a comment on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-983583155


   thanks, merging to master/3.2!


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


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

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-983255974


   **[Test build #145786 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/145786/testReport)** for PR 34718 at commit [`6bf5660`](https://github.com/apache/spark/commit/6bf5660ad79ea6b80e31ef5b444cf2b170bdab23).
    * This patch passes all tests.
    * This patch merges cleanly.
    * This patch adds no public classes.


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


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

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-983474159


   **[Test build #145811 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/145811/testReport)** for PR 34718 at commit [`7cd9956`](https://github.com/apache/spark/commit/7cd9956fecde562ab7ae50b0711326f799849220).
    * This patch passes all tests.
    * This patch merges cleanly.
    * This patch adds no public classes.


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


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

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #34718:
URL: https://github.com/apache/spark/pull/34718#issuecomment-983572753


   Kubernetes integration test status failure
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50285/
   


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