diff options
author | gatorsmile <gatorsmile@gmail.com> | 2016-04-11 22:33:05 -0700 |
---|---|---|
committer | Yin Huai <yhuai@databricks.com> | 2016-04-11 22:33:05 -0700 |
commit | 2d81ba542e12db65c2bd67357093244be9403102 (patch) | |
tree | da123970ca7c8136525ec64ff95a9c6e943ef6c7 /data | |
parent | 83fb96403bcfb1566e9d765690744824724737ac (diff) | |
download | spark-2d81ba542e12db65c2bd67357093244be9403102.tar.gz spark-2d81ba542e12db65c2bd67357093244be9403102.tar.bz2 spark-2d81ba542e12db65c2bd67357093244be9403102.zip |
[SPARK-14362][SPARK-14406][SQL][FOLLOW-UP] DDL Native Support: Drop View and Drop Table
#### What changes were proposed in this pull request?
In this PR, we are trying to address the comment in the original PR: https://github.com/apache/spark/commit/dfce9665c4b2b29a19e6302216dae2800da68ff9#commitcomment-17057030
In this PR, we checks if table/view exists at the beginning and then does not need to capture the exceptions, including `NoSuchTableException` and `InvalidTableException`. We still capture the NonFatal exception when doing `sqlContext.cacheManager.tryUncacheQuery`.
#### How was this patch tested?
The existing test cases should cover the code changes of this PR.
Author: gatorsmile <gatorsmile@gmail.com>
Closes #12321 from gatorsmile/dropViewFollowup.
Diffstat (limited to 'data')
0 files changed, 0 insertions, 0 deletions