Description
Currently the config spark.sql.hive.metastorePartitionPruning is only used in PruneHiveTablePartitions but not PruneFileSourcePartitions. The latter calls CatalogFileIndex.filterPartitions which calls listPartitionsByFilter regardless of whether the above config is set or not.