spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject spark git commit: [SPARK-7566][SQL] Add type to HiveContext.analyzer
Date Tue, 19 May 2015 01:11:34 GMT
Repository: spark
Updated Branches:
  refs/heads/branch-1.3 0a6310373 -> 0d4cd30b8


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

This makes HiveContext.analyzer overrideable.

Author: Santiago M. Mola <santiago.mola@sap.com>

Closes #6177 from smola/patch-batch-1.3 and squashes the following commits:

c11a428 [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/0d4cd30b
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/0d4cd30b
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/0d4cd30b

Branch: refs/heads/branch-1.3
Commit: 0d4cd30b8bbadfb9d31042317b3cbfeaed95c903
Parents: 0a63103
Author: Santiago M. Mola <santiago.mola@sap.com>
Authored: Mon May 18 18:11:28 2015 -0700
Committer: Reynold Xin <rxin@databricks.com>
Committed: Mon May 18 18:11:28 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/0d4cd30b/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 5c8782f..0dd12ee 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
@@ -270,7 +270,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, caseSensitive = false) {
       override val extendedResolutionRules =
         catalog.ParquetConversions ::


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


Mime
View raw message