You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by rx...@apache.org on 2015/05/13 08:44:30 UTC

spark git commit: [SPARK-7566][SQL] Add type to HiveContext.analyzer

Repository: spark
Updated Branches:
  refs/heads/master 97dee313f -> 208b90225


[SPARK-7566][SQL] Add type to HiveContext.analyzer

This makes HiveContext.analyzer overrideable.

Author: Santiago M. Mola <sa...@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


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/208b9022
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/208b9022
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/208b9022

Branch: refs/heads/master
Commit: 208b902257bbfb85bf8cadfc942b7134ad690f8b
Parents: 97dee31
Author: Santiago M. Mola <sa...@mola.io>
Authored: Tue May 12 23:44:21 2015 -0700
Committer: Reynold Xin <rx...@databricks.com>
Committed: Tue May 12 23:44:21 2015 -0700

----------------------------------------------------------------------
 .../src/main/scala/org/apache/spark/sql/hive/HiveContext.scala     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/208b9022/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala
----------------------------------------------------------------------
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 766c42d..9d98c36 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 ::


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org