diff options
author | Santiago M. Mola <santi@mola.io> | 2015-05-12 23:44:21 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-05-12 23:44:21 -0700 |
commit | 208b902257bbfb85bf8cadfc942b7134ad690f8b (patch) | |
tree | e72e159b98dd49960d01b40e4aea672dcf4ad0af /sql/hive/src | |
parent | 97dee313f23b00f15638cb72a4a80c1f197f8a9d (diff) | |
download | spark-208b902257bbfb85bf8cadfc942b7134ad690f8b.tar.gz spark-208b902257bbfb85bf8cadfc942b7134ad690f8b.tar.bz2 spark-208b902257bbfb85bf8cadfc942b7134ad690f8b.zip |
[SPARK-7566][SQL] Add type to HiveContext.analyzer
This makes HiveContext.analyzer overrideable.
Author: Santiago M. Mola <santi@mola.io>
Closes #6086 from smola/patch-3 and squashes the following commits:
8ece136 [Santiago M. Mola] [SPARK-7566][SQL] Add type to HiveContext.analyzer
Diffstat (limited to 'sql/hive/src')
-rw-r--r-- | sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala b/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala index 766c42d040..9d98c36e94 100644 --- a/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala +++ b/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala @@ -335,7 +335,7 @@ class HiveContext(sc: SparkContext) extends SQLContext(sc) { /* An analyzer that uses the Hive metastore. */ @transient - override protected[sql] lazy val analyzer = + override protected[sql] lazy val analyzer: Analyzer = new Analyzer(catalog, functionRegistry, conf) { override val extendedResolutionRules = catalog.ParquetConversions :: |