Skip to content

Commit 208b902

Browse files
smolarxin
authored andcommitted
[SPARK-7566][SQL] Add type to HiveContext.analyzer
This makes HiveContext.analyzer overrideable. Author: Santiago M. Mola <[email protected]> Closes #6086 from smola/patch-3 and squashes the following commits: 8ece136 [Santiago M. Mola] [SPARK-7566][SQL] Add type to HiveContext.analyzer
1 parent 97dee31 commit 208b902

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ class HiveContext(sc: SparkContext) extends SQLContext(sc) {
335335

336336
/* An analyzer that uses the Hive metastore. */
337337
@transient
338-
override protected[sql] lazy val analyzer =
338+
override protected[sql] lazy val analyzer: Analyzer =
339339
new Analyzer(catalog, functionRegistry, conf) {
340340
override val extendedResolutionRules =
341341
catalog.ParquetConversions ::

0 commit comments

Comments
 (0)