Skip to content

Commit

Permalink
[SPARK-7566][SQL] Add type to HiveContext.analyzer
Browse files Browse the repository at this point in the history
This makes HiveContext.analyzer overrideable.

Author: Santiago M. Mola <santi@mola.io>

Closes apache#6086 from smola/patch-3 and squashes the following commits:

8ece136 [Santiago M. Mola] [SPARK-7566][SQL] Add type to HiveContext.analyzer
  • Loading branch information
smola authored and jeanlyn committed Jun 12, 2015
1 parent 302a007 commit 98c45f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 ::
Expand Down

0 comments on commit 98c45f8

Please sign in to comment.