Skip to content
Snippets Groups Projects
Commit 4bd17c46 authored by Eric Liang's avatar Eric Liang Committed by Reynold Xin
Browse files

[SPARK-17991][SQL] Enable metastore partition pruning by default.

## What changes were proposed in this pull request?

This should apply to non-converted metastore relations. WIP to see if this causes any test failures.

## How was this patch tested?

Existing tests.

Author: Eric Liang <ekl@databricks.com>

Closes #15475 from ericl/try-enabling-pruning.
parent 39755169
No related branches found
No related tags found
No related merge requests found
......@@ -267,7 +267,7 @@ object SQLConf {
.doc("When true, some predicates will be pushed down into the Hive metastore so that " +
"unmatching partitions can be eliminated earlier.")
.booleanConf
.createWithDefault(false)
.createWithDefault(true)
val HIVE_FILESOURCE_PARTITION_PRUNING =
SQLConfigBuilder("spark.sql.hive.filesourcePartitionPruning")
......
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