You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ma...@apache.org on 2014/09/23 20:59:48 UTC

git commit: [SPARK-3481][SQL] removes the evil MINOR HACK

Repository: spark
Updated Branches:
  refs/heads/master e73b48ace -> ae60f8fb2


[SPARK-3481][SQL] removes the evil MINOR HACK

 a follow up of https://github.com/apache/spark/pull/2377 and https://github.com/apache/spark/pull/2352, see detail there.

Author: wangfei <wa...@huawei.com>

Closes #2505 from scwf/patch-6 and squashes the following commits:

4874ec8 [wangfei] removes the evil MINOR HACK


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

Branch: refs/heads/master
Commit: ae60f8fb2d879ee1ebc0746bcbe05b89ab6ed3c9
Parents: e73b48a
Author: wangfei <wa...@huawei.com>
Authored: Tue Sep 23 11:59:44 2014 -0700
Committer: Michael Armbrust <mi...@databricks.com>
Committed: Tue Sep 23 11:59:44 2014 -0700

----------------------------------------------------------------------
 .../scala/org/apache/spark/sql/hive/execution/PruningSuite.scala   | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/ae60f8fb/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/PruningSuite.scala
----------------------------------------------------------------------
diff --git a/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/PruningSuite.scala b/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/PruningSuite.scala
index 8275e2d..8474d85 100644
--- a/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/PruningSuite.scala
+++ b/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/PruningSuite.scala
@@ -28,8 +28,6 @@ import scala.collection.JavaConversions._
  * A set of test cases that validate partition and column pruning.
  */
 class PruningSuite extends HiveComparisonTest with BeforeAndAfter {
-  // MINOR HACK: You must run a query before calling reset the first time.
-  TestHive.sql("SHOW TABLES")
   TestHive.cacheTables = false
 
   // Column/partition pruning is not implemented for `InMemoryColumnarTableScan` yet, need to reset


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