diff options
author | Wenchen Fan <wenchen@databricks.com> | 2016-09-22 12:52:09 +0800 |
---|---|---|
committer | Wenchen Fan <wenchen@databricks.com> | 2016-09-22 12:52:09 +0800 |
commit | b50b34f5611a1f182ba9b6eaf86c666bbd9f9eb0 (patch) | |
tree | 1097e32b1e9aac12f7166dae9d5cb88f363abad2 /R | |
parent | 8bde03bf9a0896ea59ceaa699df7700351a130fb (diff) | |
download | spark-b50b34f5611a1f182ba9b6eaf86c666bbd9f9eb0.tar.gz spark-b50b34f5611a1f182ba9b6eaf86c666bbd9f9eb0.tar.bz2 spark-b50b34f5611a1f182ba9b6eaf86c666bbd9f9eb0.zip |
[SPARK-17609][SQL] SessionCatalog.tableExists should not check temp view
## What changes were proposed in this pull request?
After #15054 , there is no place in Spark SQL that need `SessionCatalog.tableExists` to check temp views, so this PR makes `SessionCatalog.tableExists` only check permanent table/view and removes some hacks.
This PR also improves the `getTempViewOrPermanentTableMetadata` that is introduced in #15054 , to make the code simpler.
## How was this patch tested?
existing tests
Author: Wenchen Fan <wenchen@databricks.com>
Closes #15160 from cloud-fan/exists.
Diffstat (limited to 'R')
0 files changed, 0 insertions, 0 deletions