chirag-s-db opened a new pull request, #51979:
URL: https://github.com/apache/spark/pull/51979

   ### What changes were proposed in this pull request?
   SPJ logic is currently closely coupled with the DSV2-specific BatchScanExec 
physical node, making it difficult for connectors to take advantage of SPJ for 
other types of scans. This PR refactors the SPJ-specific logic out of 
BatchScanExec, exposing a parameterized base class for connectors to use. This 
base class requires a partition value accessor (mapping from the parameterized 
type to an `InternalRow`).
   
   ### Why are the changes needed?
   Allow connectors to take advantage of SPJ on existing scans. 
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   
   ### How was this patch tested?
   Pure refactor - existing tests should suffice.
   
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No.
   


-- 
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