aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorwangfei <wangfei1@huawei.com>2014-09-23 11:59:44 -0700
committerMichael Armbrust <michael@databricks.com>2014-09-23 11:59:44 -0700
commitae60f8fb2d879ee1ebc0746bcbe05b89ab6ed3c9 (patch)
tree9cb97d8d69c9b3589295b51078d66ca01bd67f7f /sql
parente73b48ace0a7e0f249221240140235d33eeac36b (diff)
downloadspark-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')
-rw-r--r--sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/PruningSuite.scala2
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