diff options
author | xin Wu <xinwu@us.ibm.com> | 2016-05-31 17:42:47 -0700 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2016-05-31 17:42:47 -0700 |
commit | 04f925ede851fc77add9ef1cacb79fb3a617f650 (patch) | |
tree | 3d7717eb9240f315c6b0eae7d51effd7fc258db3 /core | |
parent | 85d6b0db9f5bd425c36482ffcb1c3b9fd0fcdb31 (diff) | |
download | spark-04f925ede851fc77add9ef1cacb79fb3a617f650.tar.gz spark-04f925ede851fc77add9ef1cacb79fb3a617f650.tar.bz2 spark-04f925ede851fc77add9ef1cacb79fb3a617f650.zip |
[SPARK-15236][SQL][SPARK SHELL] Add spark-defaults property to switch to use InMemoryCatalog
## What changes were proposed in this pull request?
This PR change REPL/Main to check this property `spark.sql.catalogImplementation` to decide if `enableHiveSupport `should be called.
If `spark.sql.catalogImplementation` is set to `hive`, and hive classes are built, Spark will use Hive support.
Other wise, Spark will create a SparkSession with in-memory catalog support.
## How was this patch tested?
Run the REPL component test.
Author: xin Wu <xinwu@us.ibm.com>
Author: Xin Wu <xinwu@us.ibm.com>
Closes #13088 from xwu0226/SPARK-15236.
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions