GitHub user gatorsmile opened a pull request:
https://github.com/apache/spark/pull/12385
[SPARK-14603] [SQL] [WIP] Verification of Metadata Operations by Session
Catalog
#### What changes were proposed in this pull request?
Since we cannot really trust if the underlying external catalog can throw
exceptions when there is an invalid metadata operation, let's do it in
SessionCatalog.
- [X] The first step is to unify the error messages issued in Hive-specific
Session Catalog and general Session Catalog.
- [ ] The second step is to verify the inputs of metadata operations.
#### How was this patch tested?
Todo: add test cases and verify the error messages we issued
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gatorsmile/spark verifySessionAPIs
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/12385.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 #12385
----
commit 882fdbd4f4ae8276944c2a8149589b001e590fb1
Author: gatorsmile <[email protected]>
Date: 2016-04-14T06:20:13Z
unify the exceptions for no such items and already existent items
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]