Skip to content

Commit 652f557

Browse files
author
Maciej Brynski
committed
[SPARK-16320][SPARK-16321] Fixing performance regression when reading Parquet
1 parent b4fbe14 commit 652f557

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFileFormat.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,8 @@ private[sql] class ParquetFileFormat
325325
None
326326
}
327327

328+
pushed.foreach(ParquetInputFormat.setFilterPredicate(hadoopConf, _))
329+
328330
val broadcastedHadoopConf =
329331
sparkSession.sparkContext.broadcast(new SerializableConfiguration(hadoopConf))
330332

0 commit comments

Comments
 (0)