aboutsummaryrefslogtreecommitdiff
path: root/sql/hive
diff options
context:
space:
mode:
authorSantiago M. Mola <santi@mola.io>2015-05-12 23:44:21 -0700
committerReynold Xin <rxin@databricks.com>2015-05-12 23:44:43 -0700
commit6ff3379a19eede373947f8578b161c3a4af40ef1 (patch)
tree390ec35ab800949c51197bce91f6267431ae38e5 /sql/hive
parent219a9043ef59d11e1dd58f607022558559508f6b (diff)
downloadspark-6ff3379a19eede373947f8578b161c3a4af40ef1.tar.gz
spark-6ff3379a19eede373947f8578b161c3a4af40ef1.tar.bz2
spark-6ff3379a19eede373947f8578b161c3a4af40ef1.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 (cherry picked from commit 208b902257bbfb85bf8cadfc942b7134ad690f8b) Signed-off-by: Reynold Xin <rxin@databricks.com>
Diffstat (limited to 'sql/hive')
-rw-r--r--sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala2
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 ::