Uh oh!
There was an error while loading. Please reload this page.
[WIP][SPARK-28476][SQL] Support ALTER DATABASE SET LOCATION - #25294
[WIP][SPARK-28476][SQL] Support ALTER DATABASE SET LOCATION#25294WeichenXu123 wants to merge 13 commits into
Conversation
SparkQA
commented
Jul 30, 2019
Test build #108360 has finished for PR 25294 at commit
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| test("alter database set location") { | ||
| // ALTER (DATABASE|SCHEMA) database_name SET LOCATION | ||
| val sql1 = "ALTER DATABASE database_name SET LOCATION '/home/user/db'" |
There was a problem hiding this comment.
This is the parser test case.
Add both negative and positive end to end test cases?
There was a problem hiding this comment.
I add a positive e2e test case.
What's the negative test case you want to add ?
There was a problem hiding this comment.
- A database that does not exist before issuing this command?
- Setting an illegal path that could trigger an exception inside the function
stringToURI
Uh oh!
There was an error while loading. Please reload this page.
gatorsmile
commented
Jul 30, 2019
cc @rednaxelafx |
SparkQA
commented
Jul 30, 2019
Test build #108400 has finished for PR 25294 at commit
|
SparkQA
commented
Jul 30, 2019
Test build #108408 has finished for PR 25294 at commit
|
SparkQA
commented
Jul 31, 2019
Test build #108431 has finished for PR 25294 at commit
|
SparkQA
commented
Jul 31, 2019
Test build #108456 has finished for PR 25294 at commit
|
SparkQA
commented
Jul 31, 2019
Test build #108473 has finished for PR 25294 at commit
|
SparkQA
commented
Aug 1, 2019
Test build #108498 has finished for PR 25294 at commit
|
SparkQA
commented
Aug 2, 2019
Test build #108563 has finished for PR 25294 at commit
|
SparkQA
commented
Aug 2, 2019
Test build #108564 has finished for PR 25294 at commit
|
Uh oh!
There was an error while loading. Please reload this page.
SparkQA
commented
Aug 2, 2019
Test build #108572 has finished for PR 25294 at commit
|
SparkQA
commented
Aug 2, 2019
Test build #108575 has finished for PR 25294 at commit
|
WeichenXu123
commented
Aug 3, 2019
Jenkins, retest this please. |
WeichenXu123
commented
Aug 3, 2019
Jenkins, retest this please. |
SparkQA
commented
Aug 4, 2019
Test build #108596 has finished for PR 25294 at commit
|
SparkQA
commented
Aug 4, 2019
Test build #108599 has finished for PR 25294 at commit
|
SparkQA
commented
Aug 4, 2019
Test build #108597 has finished for PR 25294 at commit
|
WeichenXu123
commented
Aug 13, 2019
@gatorsmile Any idea to address the hive metadata api "set db location" not working issue ? |
wangyum
commented
Sep 21, 2019
retest this please |
SparkQA
commented
Sep 21, 2019
Test build #111110 has finished for PR 25294 at commit
|
What changes were proposed in this pull request?
Support the syntax of ALTER (DATABASE|SCHEMA) database_name SET LOCATION path
Ref: https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL
How was this patch tested?
UT.
Please review https://spark.apache.org/contributing.html before opening a pull request.