Skip to content
Snippets Groups Projects
Commit 184cd51c authored by Cheng Lian's avatar Cheng Lian Committed by Michael Armbrust
Browse files

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

This is a follow up of #2352. Now we can finally remove the evil "MINOR HACK", which covered up the eldest bug in the history of Spark SQL (see details [here](https://github.com/apache/spark/pull/2352#issuecomment-55440621)).

Author: Cheng Lian <lian.cs.zju@gmail.com>

Closes #2377 from liancheng/remove-evil-minor-hack and squashes the following commits:

0869c78 [Cheng Lian] Removes the evil MINOR HACK
parent a523ceaf
No related branches found
No related tags found
No related merge requests found
......@@ -250,9 +250,9 @@ abstract class HiveComparisonTest
}
try {
// MINOR HACK: You must run a query before calling reset the first time.
TestHive.sql("SHOW TABLES")
if (reset) { TestHive.reset() }
if (reset) {
TestHive.reset()
}
val hiveCacheFiles = queryList.zipWithIndex.map {
case (queryString, i) =>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment