Chao Sun created SPARK-36128:
--------------------------------

             Summary: CatalogFileIndex.filterPartitions should respect 
spark.sql.hive.metastorePartitionPruning
                 Key: SPARK-36128
                 URL: https://issues.apache.org/jira/browse/SPARK-36128
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 3.2.0
            Reporter: Chao Sun


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. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to