Skip to content

Commit

Permalink
[SPARK-3481][SQL] Removes the evil MINOR HACK
Browse files Browse the repository at this point in the history
This is a follow up of apache#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](apache#2352 (comment))).

Author: Cheng Lian <[email protected]>

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

0869c78 [Cheng Lian] Removes the evil MINOR HACK
  • Loading branch information
liancheng authored and marmbrus committed Sep 13, 2014
1 parent a523cea commit 184cd51
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) =>
Expand Down

0 comments on commit 184cd51

Please sign in to comment.