GitHub user cloud-fan opened a pull request: https://github.com/apache/spark/pull/21224
[SPARK-24167][SQL] ParquetFilters should not access SQLConf at executor side ## What changes were proposed in this pull request? This PR is extracted from #21190 , to make it easier to backport. `ParquetFilters` is used in the file scan function, which is executed in executor side, so we can't can't call `conf.parquetFilterPushDownDate` there. ## How was this patch tested? it's tested in #21190 You can merge this pull request into a Git repository by running: $ git pull https://github.com/cloud-fan/spark minor2 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/21224.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #21224 ---- commit c58baad051259d7d2d54f1eb5e84c4bdac0867a6 Author: Wenchen Fan <wenchen@...> Date: 2018-05-03T05:20:06Z ParquetFilters should not access SQLConf at executor side ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org