utkarsh39 opened a new pull request, #36327:
URL: https://github.com/apache/spark/pull/36327

   
   ### What changes were proposed in this pull request?
   The PR refactors `FileSourceScanExec` case class into a base trait 
`FileSourceScanLike` which is then subclassed by `FileSourceScanExec`. 
`FileSourceScanLike` contains basic functionality like metrics and file listing 
while the `FileSourceScanExec` contains execution specific code.
   
   
   ### Why are the changes needed?
   Currently the code for `FileSourceScanExec` class, the physical node for the 
file scans is quite complex and lengthy making it slightly difficult to reason 
about.
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   Code refactor, existing tests should suffice.
   


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