We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
SHOW TABLES
TestHive.reset()
1 parent 541dc8d commit 32ef7c3Copy full SHA for 32ef7c3
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/PruningSuite.scala
@@ -26,6 +26,9 @@ import scala.collection.JavaConversions._
26
* A set of test cases that validate partition and column pruning.
27
*/
28
class PruningSuite extends HiveComparisonTest {
29
+ // MINOR HACK: You must run a query before calling reset the first time.
30
+ TestHive.hql("SHOW TABLES")
31
+
32
// Column/partition pruning is not implemented for `InMemoryColumnarTableScan` yet, need to reset
33
// the environment to ensure all referenced tables in this suites are not cached in-memory.
34
// Refer to https://issues.apache.org/jira/browse/SPARK-2283 for details.
0 commit comments