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 @@ -39,6 +39,12 @@ import org.apache.spark.util.Utils
class HivePartitionFilteringSuite(version: String)
extends HiveVersionSuite(version) with BeforeAndAfterAll with SQLHelper {

override def beforeEach(): Unit = {
super.beforeEach()
// SPARK-40619: explicitly call gc to avoid OutOfMemoryError as far as possible.
System.gc()
}

private val tryDirectSqlKey = HiveConf.ConfVars.METASTORE_TRY_DIRECT_SQL.varname
private val fallbackKey = SQLConf.HIVE_METASTORE_PARTITION_PRUNING_FALLBACK_ON_EXCEPTION.key
private val pruningFastFallback = SQLConf.HIVE_METASTORE_PARTITION_PRUNING_FAST_FALLBACK.key
Expand Down