Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,11 @@ class TPCDSQueryTestSuite extends QueryTest with TPCDSBase with SQLQueryTestHelp
classLoader = Thread.currentThread().getContextClassLoader)
test(name) {
val goldenFile = new File(s"$baseResourcePath/v1_4", s"$name.sql.out")
System.gc() // Workaround for GitHub Actions memory limitation, see also SPARK-37368
runQuery(queryString, goldenFile, joinConfSet.head.toSeq, false)
if (!regenerateGoldenFiles) {
joinConfSet.tail.foreach { conf =>
System.gc() // SPARK-37368
runQuery(queryString, goldenFile, conf.toSeq, true)
}
}
Expand All @@ -194,9 +196,11 @@ class TPCDSQueryTestSuite extends QueryTest with TPCDSBase with SQLQueryTestHelp
classLoader = Thread.currentThread().getContextClassLoader)
test(s"$name-v2.7") {
val goldenFile = new File(s"$baseResourcePath/v2_7", s"$name.sql.out")
System.gc() // SPARK-37368
runQuery(queryString, goldenFile, joinConfSet.head.toSeq, false)
if (!regenerateGoldenFiles) {
joinConfSet.tail.foreach { conf =>
System.gc() // SPARK-37368
runQuery(queryString, goldenFile, conf.toSeq, true)
}
}
Expand Down