You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by bomeng <gi...@git.apache.org> on 2018/08/16 22:01:21 UTC
[GitHub] spark pull request #22127: [SPARK-25032][SQL] fix drop database issue
GitHub user bomeng opened a pull request:
https://github.com/apache/spark/pull/22127
[SPARK-25032][SQL] fix drop database issue
## What changes were proposed in this pull request?
When user tries to drop the current database (other than default database), after the database is deleted, we should set the database to default.
## How was this patch tested?
A new test case is added to cover this scenario.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/bomeng/spark 25032
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/22127.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #22127
----
commit 825533682c98598409e537fa866dcdab915e3948
Author: Bo Meng <bo...@...>
Date: 2018-08-16T21:58:17Z
fix drop database issue
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #22127: [SPARK-25032][SQL] fix drop database issue
Posted by bomeng <gi...@git.apache.org>.
Github user bomeng commented on the issue:
https://github.com/apache/spark/pull/22127
Good points. I will leave it open for any suggestions for improving the user experience..
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #22127: [SPARK-25032][SQL] fix drop database issue
Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:
https://github.com/apache/spark/pull/22127
Merged build finished. Test FAILed.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #22127: [SPARK-25032][SQL] fix drop database issue
Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:
https://github.com/apache/spark/pull/22127
Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/94868/
Test FAILed.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #22127: [SPARK-25032][SQL] fix drop database issue
Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:
https://github.com/apache/spark/pull/22127
Merged build finished. Test PASSed.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #22127: [SPARK-25032][SQL] fix drop database issue
Posted by dilipbiswal <gi...@git.apache.org>.
Github user dilipbiswal commented on the issue:
https://github.com/apache/spark/pull/22127
@bomeng There seems to be bit of history to this :-) . Please check https://github.com/apache/spark/pull/15011
where we decided against silently switching to "default" database.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #22127: [SPARK-25032][SQL] fix drop database issue
Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:
https://github.com/apache/spark/pull/22127
Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/2258/
Test PASSed.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #22127: [SPARK-25032][SQL] fix drop database issue
Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:
https://github.com/apache/spark/pull/22127
**[Test build #94868 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/94868/testReport)** for PR 22127 at commit [`8255336`](https://github.com/apache/spark/commit/825533682c98598409e537fa866dcdab915e3948).
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #22127: [SPARK-25032][SQL] fix drop database issue
Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:
https://github.com/apache/spark/pull/22127
**[Test build #94868 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/94868/testReport)** for PR 22127 at commit [`8255336`](https://github.com/apache/spark/commit/825533682c98598409e537fa866dcdab915e3948).
* This patch **fails Spark unit tests**.
* This patch merges cleanly.
* This patch adds no public classes.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark pull request #22127: [SPARK-25032][SQL] fix drop database issue
Posted by bomeng <gi...@git.apache.org>.
Github user bomeng closed the pull request at:
https://github.com/apache/spark/pull/22127
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org