huaxingao opened a new pull request #33584:
URL: https://github.com/apache/spark/pull/33584


   ### What changes were proposed in this pull request?
   Currently, DSv2 partition filters and data filters are separated in 
`PruneFileSourcePartitions`. This PR refactors the code and separates partition 
filters and data filters in `PushDownUtils`.
   
   ### Why are the changes needed?
   For file based data source, we want to separate partition filters and data 
filters in `PushDownUtils`, so in `V2ScanRelationPushDown`, we can tell if the 
filters are only partition filters and decide whether to push down 
Max/Min/Count to data source.
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   Existing test suites
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to