diff options
author | wangfei <wangfei1@huawei.com> | 2014-09-23 11:59:44 -0700 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2014-09-23 11:59:44 -0700 |
commit | ae60f8fb2d879ee1ebc0746bcbe05b89ab6ed3c9 (patch) | |
tree | 9cb97d8d69c9b3589295b51078d66ca01bd67f7f /sql/hive | |
parent | e73b48ace0a7e0f249221240140235d33eeac36b (diff) | |
download | spark-ae60f8fb2d879ee1ebc0746bcbe05b89ab6ed3c9.tar.gz spark-ae60f8fb2d879ee1ebc0746bcbe05b89ab6ed3c9.tar.bz2 spark-ae60f8fb2d879ee1ebc0746bcbe05b89ab6ed3c9.zip |
[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 <wangfei1@huawei.com>
Closes #2505 from scwf/patch-6 and squashes the following commits:
4874ec8 [wangfei] removes the evil MINOR HACK
Diffstat (limited to 'sql/hive')
-rw-r--r-- | sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/PruningSuite.scala | 2 |
1 files changed, 0 insertions, 2 deletions
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 8275e2d3bc..8474d850c9 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 |