waynexia commented on PR #17242:
URL: https://github.com/apache/datafusion/pull/17242#issuecomment-3243592901

   > > FileFormat takes FilsScanConfig and format config stored in it to 
produce the associated FileOpener
   > 
   > Don't we need a `FileOpener` _per partition_? So we need something that is 
produced by `FileFormat::make_thing(FileScanConfig)` that can then create a 
FileOpener per partition, right?
   
   Partition is closer to Runtime Config (passed from execution plan's exec) so 
it should be ok to have only one FileFormat for all partitions. The partition 
number is used to get a set of file segments from FilsScanConfig and to mark 
metrics.
   
   
   


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