diff options
author | Andrew Or <andrew@databricks.com> | 2016-03-16 18:02:43 -0700 |
---|---|---|
committer | Yin Huai <yhuai@databricks.com> | 2016-03-16 18:02:43 -0700 |
commit | ca9ef86c84ee84263f437a979017898f4bed0feb (patch) | |
tree | 8dbcb871a0664a2375bd59ffbecdbf7bdc23c4d8 /NOTICE | |
parent | 92b70576eabf8ff94ac476e2b3c66f8b3d28e79e (diff) | |
download | spark-ca9ef86c84ee84263f437a979017898f4bed0feb.tar.gz spark-ca9ef86c84ee84263f437a979017898f4bed0feb.tar.bz2 spark-ca9ef86c84ee84263f437a979017898f4bed0feb.zip |
[SPARK-13923][SQL] Implement SessionCatalog
## What changes were proposed in this pull request?
As part of the effort to merge `SQLContext` and `HiveContext`, this patch implements an internal catalog called `SessionCatalog` that handles temporary functions and tables and delegates metastore operations to `ExternalCatalog`. Currently, this is still dead code, but in the future it will be part of `SessionState` and will replace `o.a.s.sql.catalyst.analysis.Catalog`.
A recent patch #11573 parses Hive commands ourselves in Spark, but still passes the entire query text to Hive. In a future patch, we will use `SessionCatalog` to implement the parsed commands.
## How was this patch tested?
800+ lines of tests in `SessionCatalogSuite`.
Author: Andrew Or <andrew@databricks.com>
Closes #11750 from andrewor14/temp-catalog.
Diffstat (limited to 'NOTICE')
0 files changed, 0 insertions, 0 deletions